<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.4.0";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '02E2B05B802F5FBB77436E47B2981129';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'chess',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
function q(){}
function u(){}
function p(){}
function y(){}
function x(){}
function w(){}
function v(){}
function ts(){}
function kb(){}
function jb(){}
function ib(){}
function Nb(){}
function Mb(){}
function Lb(){}
function Kb(){}
function Jb(){}
function ic(){}
function kc(){}
function oc(){}
function rc(){}
function vc(){}
function Cc(){}
function Uc(){}
function Tc(){}
function Wc(){}
function Zc(){}
function Yc(){}
function _c(){}
function $c(){}
function ad(){}
function dd(){}
function fd(){}
function jd(){}
function pd(){}
function qd(){}
function xd(){}
function zd(){}
function Fd(){}
function Jd(){}
function Nd(){}
function Id(){}
function Qd(){}
function Pd(){}
function Wd(){}
function me(){}
function ce(){}
function se(){}
function ve(){}
function Ee(){}
function Ae(){}
function Je(){}
function Qe(){}
function Ie(){}
function Ve(){}
function Ye(){}
function We(){}
function vf(){}
function uf(){}
function Gf(){}
function If(){}
function Kf(){}
function Mf(){}
function Of(){}
function Qf(){}
function _f(){}
function bg(){}
function dg(){}
function fg(){}
function hg(){}
function jg(){}
function lg(){}
function ng(){}
function pg(){}
function Ag(){}
function zg(){}
function Jg(){}
function Cg(){}
function Og(){}
function Ng(){}
function Mg(){}
function Xg(){}
function Wg(){}
function Vg(){}
function ah(){}
function ch(){}
function kh(){}
function bh(){}
function rh(){}
function nh(){}
function yh(){}
function uh(){}
function Bh(){}
function Gh(){}
function Kh(){}
function Fh(){}
function Rh(){}
function Nh(){}
function Yh(){}
function Uh(){}
function _h(){}
function di(){}
function ii(){}
function gi(){}
function mi(){}
function si(){}
function ri(){}
function qi(){}
function Di(){}
function Ci(){}
function Fi(){}
function Ei(){}
function Ki(){}
function Ri(){}
function Qi(){}
function ek(){}
function dk(){}
function hk(){}
function mk(){}
function rk(){}
function Dk(){}
function Zk(){}
function dl(){}
function ul(){}
function Al(){}
function Fl(){}
function El(){}
function Dl(){}
function Dm(){}
function bm(){}
function im(){}
function hm(){}
function lm(){}
function km(){}
function nm(){}
function sm(){}
function rm(){}
function Cm(){}
function $m(){}
function Zm(){}
function Ym(){}
function gn(){}
function nn(){}
function rn(){}
function wn(){}
function Fn(){}
function En(){}
function Jn(){}
function Qn(){}
function _n(){}
function $n(){}
function co(){}
function bo(){}
function eo(){}
function io(){}
function no(){}
function vo(){}
function Go(){}
function Eo(){}
function Lo(){}
function Ko(){}
function Mo(){}
function Oo(){}
function Ro(){}
function Qo(){}
function Uo(){}
function Wo(){}
function Xo(){}
function Zo(){}
function Zp(){}
function ap(){}
function dp(){}
function qp(){}
function tp(){}
function Np(){}
function Rp(){}
function Up(){}
function $p(){}
function uq(){}
function tq(){}
function Cq(){}
function Hq(){}
function Gq(){}
function Oq(){}
function Tq(){}
function cr(){}
function jr(){}
function mr(){}
function sr(){}
function wr(){}
function Xr(){}
function Wr(){}
function _r(){}
function cs(){}
function ls(){}
function qs(){}
function up(a){}
function bp(){Ce()}
function rp(){Ce()}
function Sp(){Ce()}
function cd(){Ce()}
function Po(){Ce()}
function Vo(){Ce()}
function Yo(){Ce()}
function $o(){Ce()}
function rs(){Ce()}
function Rd(a){Ce()}
function Sd(a){Ce()}
function _o(a){Ce()}
function cp(a){Ce()}
function sp(a){Ce()}
function Tp(a){Ce()}
function al(){_k()}
function B(a,b){a.p=b}
function ld(a,b){a.b=b}
function md(a,b){a.c=b}
function nd(a,b){a.d=b}
function od(a,b){a.e=b}
function Hf(){this.b=0}
function Jf(){this.b=1}
function Lf(){this.b=2}
function Nf(){this.b=3}
function Pf(){this.b=4}
function ig(){this.b=4}
function ag(){this.b=0}
function cg(){this.b=1}
function eg(){this.b=2}
function gg(){this.b=3}
function kg(){this.b=5}
function mg(){this.b=6}
function og(){this.b=7}
function qg(){this.b=8}
function uc(a){this.b=a}
function te(a){this.b=a}
function we(a){this.b=a}
function wm(a){this.p=a}
function qn(a){this.b=a}
function un(a){this.c=a}
function yo(a){this.c=a}
function fp(a){this.b=a}
function yq(a){this.b=a}
function Kq(a){this.b=a}
function gr(a){this.e=a}
function tr(a){this.b=a}
function Eh(){this.b={}}
function sk(){this.b=Cs}
function Rg(a,b){a.b=b}
function Pg(a,b){a.e=b}
function Sg(a,b){a.c=b}
function Km(a,b){a.e=b}
function yn(a,b){a.b=b}
function Xe(a,b){a.b+=b}
function Xh(a,b){Oc(b,a)}
function jh(a,b){Kc(b,a)}
function qh(a,b){Lc(b,a)}
function xh(a,b){Mc(b,a)}
function Jh(a,b){Nc(b,a)}
function Qh(a,b){Nc(b,a)}
function ci(a,b){Pc(b,a)}
function F(a,b){Pk(a.p,b)}
function xb(a,b){xr(a.g,b)}
function Pi(a,b){this.b=b}
function E(a,b){a.p[Bs]=b}
function Dh(a,b,c){a.b[b]=c}
function D(a,b,c){H(a.p,b,c)}
function Tl(a,b){Kl(a,b,a.p)}
function oo(a,b){qo(a,b,a.d)}
function ne(a){return a.T()}
function bs(){eq(this)}
function Hn(){Hn=ts;Do()}
function xn(){xn=ts;new bs}
function mb(){mb=ts;lb=new bs}
function Vb(){Vb=ts;Ub=new bn}
function vd(){vd=ts;ud=new Nd}
function ee(){ee=ts;de=new me}
function Eg(){Eg=ts;Dg=new Jg}
function _k(){_k=ts;$k=new $g}
function Vr(){Vr=ts;Ur=new Xr}
function yl(){this.c=new Fr}
function Pp(){this.b=new Ye}
function gs(){this.b=new bs}
function A(){throw new Sp}
function $g(){this.d=++Yg}
function ik(a){lk(a);this.b=a}
function Nk(a){Jk=a;hl();kl=a}
function Pk(a,b){hl();sl(a,b)}
function Qk(a,b){hl();tl(a,b)}
function Sm(a,b){Jm(a,b);--a.c}
function wf(a,b){return a.b-b.b}
function Ch(a,b){return a.b[b]}
function np(a,b){return a>b?a:b}
function op(a,b){return a<b?a:b}
function mp(a){return a<0?-a:a}
function Hi(a){Gi.call(this,a)}
function fm(a){Hi.call(this,a)}
function el(){pi.call(this,null)}
function pc(a){a.g=null;a.f=null}
function Tr(a){Rr(a,0,a.length)}
function Mr(a,b,c){a.splice(b,c)}
function Ok(a,b,c){a.style[b]=c}
function Lk(a,b,c){rl(a,Mn(b),c)}
function es(a,b){return fq(a.b,b)}
function vn(a,b){return a.rows[b]}
function iq(b,a){return b.f[ct+a]}
function ie(a){return !!a.b||!!a.g}
function dr(a){return a.c<a.e.kb()}
function J(a,b){!!a.n&&oi(a.n,b)}
function il(a,b){a.__listener=b}
function Bl(a,b){this.b=a;this.c=b}
function rd(a,b){this.b=a;this.c=b}
function Kn(a,b){this.b=a;this.c=b}
function or(a,b){this.b=a;this.c=b}
function ms(a,b){this.b=a;this.c=b}
function Pq(a,b){this.c=a;this.b=b}
function jf(a,b){a.dispatchEvent(b)}
function lf(a,b){a.textContent=b||Cs}
function ef(b,a){b.innerHTML=a||Cs}
function kq(b,a){return ct+a in b.f}
function yp(b,a){return b.indexOf(a)}
function pp(a){return Math.round(a)}
function jj(a){return a==null?null:a}
function dj(a,b){return a.cM&&a.cM[b]}
function jl(a){return !hj(a)&&gj(a,37)}
function Wq(a,b){(a<0||a>=b)&&Zq(a,b)}
function Op(a,b){Xe(a.b,b);return a}
function le(a,b){a.d=oe(a.d,[b,false])}
function cj(a,b){return a.cM&&!!a.cM[b]}
function ij(a){return a.tM==ts||cj(a,1)}
function be(a){return a.$H||(a.$H=++Yd)}
function pn(a,b,c){return on(a.b.d,b,c)}
function fs(a,b){return pq(a.b,b)!=null}
function vp(b,a){return b.charCodeAt(a)}
function Ze(b,a){return b.appendChild(a)}
function _e(b,a){return b.removeChild(a)}
function pi(a){this.b=new Bi;this.c=a}
function ph(){ph=ts;oh=new _g(kt,new rh)}
function ih(){ih=ts;hh=new _g(jt,new kh)}
function wh(){wh=ts;vh=new _g(lt,new yh)}
function Ih(){Ih=ts;Hh=new _g(mt,new Kh)}
function Ph(){Ph=ts;Oh=new _g(nt,new Rh)}
function Wh(){Wh=ts;Vh=new _g(ot,new Yh)}
function bi(){bi=ts;ai=new _g(pt,new di)}
function em(){em=ts;cm=new im;dm=new lm}
function Jp(){Jp=ts;Gp={};Ip={}}
function Xk(){if(!Tk){Cl();Tk=true}}
function hl(){if(!fl){ql();fl=true}}
function Vn(a){Xl.call(this,a);K(this)}
function fo(){Vn.call(this,$doc.body)}
function ko(a){this.c=a;this.b=!!this.c.b}
function Bi(){this.e=new bs;this.d=false}
function Od(){return (new Date).getTime()}
function Qp(){return (new Date).getTime()}
function tf(b,a){return b.getElementById(a)}
function gk(c,a,b){return a.replace(c,b)}
function gj(a,b){return a!=null&&cj(a,b)}
function Zd(a,b,c){return a.apply(b,c);var d}
function on(a,b,c){return a.rows[b].cells[c]}
function bf(b,a){return parseInt(b[a])||0}
function Fp(a){return String.fromCharCode(a)}
function ke(a,b){a.b=oe(a.b,[b,false]);je(a)}
function Hc(a){Mk(a.b.p);N(a.b);a.e=1;pc(a.c)}
function xr(a,b){Yi(a.b,a.c++,b);return true}
function zr(a,b){Wq(b,a.c);return a.b[b]}
function yi(a,b){var c;c=zi(a,b);return c}
function vi(a,b,c){var d;d=xi(a,b);d.ib(c)}
function ni(a,b,c){return new Di(ui(a.b,b,c))}
function $e(c,a,b){return c.insertBefore(a,b)}
function ti(a,b){!a.b&&(a.b=new Fr);xr(a.b,b)}
function ki(a){var b;if(hi){b=new ii;oi(a,b)}}
function _m(a){this.p=a;this.b=new qm(this.p)}
function jc(a,b,c){this.b=a;this.d=b;this.c=c}
function No(a,b,c){this.b=a;this.d=b;this.c=c}
function Xl(a){this.b=new to(this);this.p=a}
function Td(a){Ce();this.b=a;Be(new Qe,this)}
function zp(b,a){return b.substr(a,b.length-a)}
function ep(a,b){return a.b<b.b?-1:a.b>b.b?1:0}
function Nr(a,b,c,d){a.splice(b,c,d)}
function Fr(){this.b=Ui(Nj,{58:1,66:1},0,0,0)}
function qc(a){this.k=new Fr;this.e=a;this.b=a.p}
function t(a){a.b=new gb;Tl(Yn(xs),a.b);fb(a.b)}
function cn(a){_m.call(this,a,xp(Yt,a.tagName))}
function Am(){wm.call(this,Jo(Ho?Ho:(Ho=Io())))}
function De(){try{null.a()}catch(a){return a}}
function Wn(a){Un();try{a.B()}finally{fs(Tn,a)}}
function zl(a){var b=a[Pt];return b==null?-1:b}
function So(a,b){var c;c=new Ro;c.b=a+b;return c}
function To(a,b){var c;c=new Ro;c.b=a+b;return c}
function Lm(a,b){!!a.f&&(b.b=a.f.b);a.f=b;sn(a.f)}
function Ml(a,b){if(b<0||b>a.b.d){throw new bp}}
function oe(a,b){!a&&(a=[]);a[a.length]=b;return a}
function wg(){wg=ts;tg=[];ug=[];vg=[];rg=new Ag}
function _i(){_i=ts;Zi=[];$i=[];aj(new Ri,Zi,$i)}
function Un(){Un=ts;Rn=new _n;Sn=new bs;Tn=new gs}
function Vk(a){Xk();return Wk(hi?hi:(hi=new $g),a)}
function Vd(a){var b;return b=a,ij(b)?b.hC():be(b)}
function pq(a,b){return !b?rq(a):qq(a,b,~~be(b))}
function Vi(a,b,c,d,e,f){return Wi(a,b,c,d,0,e,f)}
function yr(a){a.b=Ui(Nj,{58:1,66:1},0,0,0);a.c=0}
function ze(a,b){a.length>=b&&a.splice(0,b);return a}
function Hg(a,b){var c;c=Fg(b);Ze(Gg(a),c);return c}
function ds(a,b){var c;c=lq(a.b,b,a);return c==null}
function wb(a,b,c){var d;d=sc(a.f,b,c);return d?d:a.c}
function _p(a){var b;b=new yq(a);return new or(a,b)}
function Tj(a){if(gj(a,69)){return a}return new Td(a)}
function lj(a){if(a!=null){throw new Vo}return null}
function Mp(){if(Hp==256){Gp=Ip;Ip={};Hp=0}++Hp}
function yg(){wg();if(!sg){sg=true;le((ee(),de),rg)}}
function vm(){wm.call(this,$doc.createElement(Qt))}
function kn(a){this.c=a;this.d=this.c.i.c;hn(this)}
function hj(a){return a!=null&&a.tM!=ts&&!cj(a,1)}
function cf(b,a){return b[a]==null?null:String(b[a])}
function as(a,b){return jj(a)===jj(b)||a!=null&&Ud(a,b)}
function ss(a,b){return jj(a)===jj(b)||a!=null&&Ud(a,b)}
function Wk(a,b){return ni((!Uk&&(Uk=new el),Uk),a,b)}
function Vj(a,b,c){return _=new ek,_.l=a,_.m=b,_.h=c,_}
function Ud(a,b){var c;return c=a,ij(c)?c.eQ(b):c===b}
function nr(a){var b;b=new Dq(a.c.b);return new tr(b)}
function Kl(a,b,c){N(b);oo(a.b,b);Ze(c,Mn(b.p));P(b,a)}
function Ui(a,b,c,d,e){var f;f=Ti(e,d);Xi(a,b,c,f);return f}
function Gm(a,b,c,d){var e;e=pn(a.e,b,c);Hm(a,e,d);return e}
function ej(a,b){if(a!=null&&!dj(a,b)){throw new Vo}return a}
function lk(a){if(a==null){throw new sp('css is null')}}
function Zq(a,b){throw new cp('Index: '+a+', Size: '+b)}
function eq(a){a.b=[];a.f={};a.d=false;a.c=null;a.e=0}
function Yl(a){a.style[Ys]=Cs;a.style[Zs]=Cs;a.style[ft]=Cs}
function Mn(a){return a.__gwt_resolve?a.__gwt_resolve():a}
function om(a){var b;b=a.d?ff(a.b):a.b;return b.textContent}
function wo(a){if(a.b>=a.c.d){throw new rs}return a.c.b[++a.b]}
function wp(a,b){if(!gj(b,1)){return false}return String(a)==b}
function Bp(a,b){a=String(a);if(a==b){return 0}return a<b?-1:1}
function Q(a,b){a.k==-1?Qk(a.p,b|(a.p.__eventBits||0)):(a.k|=b)}
function ed(a){this.j=a;this.e=bf(a.p,Qs);this.d=bf(a.p,Rs)}
function qm(a){this.b=a;this.d=false;this.c=Ii(a);this.e=this.c}
function Ek(a){if(a==null){throw new sp('uri is null')}this.b=a}
function kr(a){if(a.c<=0){throw new rs}return a.b.rb(a.d=--a.c)}
function nk(a){if(a==null){throw new sp('html is null')}this.b=a}
function Qc(a){C(a.b,0,0);Ul((Un(),Yn(null)),a.b,0,0);Nk(a.b.p)}
function Xn(){Un();try{gm(Tn,Rn)}finally{eq(Tn.b);eq(Sn)}}
function lp(){lp=ts;kp=Ui(Mj,{58:1,64:1,66:1},63,256,0)}
function Hk(){Hk=ts;new RegExp('%5B',ut);new RegExp('%5D',ut)}
function Mk(a){!!Jk&&a==Jk&&(Jk=null);hl();a===kl&&(kl=null)}
function C(a,b,c){b>=0&&Ok(a.p,ys,b+zs);c>=0&&Ok(a.p,As,c+zs)}
function wd(a,b,c){vd();a.style[Ys]=b+($f(),zs);a.style[Zs]=c+zs}
function zn(a,b,c,d,e){xn();An.call(this,(Hk(),new Ek(a)),b,c,d,e)}
function Ul(a,b,c,d){var e;N(b);e=a.b.d;a.eb(b,c,d);Nl(a,b,a.p,e)}
function Dr(a,b,c){var d;d=(Wq(b,a.c),a.b[b]);Yi(a.b,b,c);return d}
function Ig(a,b){var c;c=Fg(b);$e(Gg(a),c,a.b.firstChild);return c}
function so(a,b){var c;c=po(a,b);if(c==-1){throw new rs}ro(a,c)}
function Fm(a,b){var c;c=a.c;if(b>=c||b<0){throw new cp(Ut+b+Vt+c)}}
function nq(a,b){var c;c=a.c;a.c=b;if(!a.d){a.d=true;++a.e}return c}
function xc(a,b){var c,d;c=a.b.I().p;d=b.b.I().p;return wc(a,c,d)}
function Fc(a,b,c){a.c.i=b;a.c.j=c;a.c.c=b-a.f;a.c.d=c-a.g;a.c.e.H()}
function fr(a){if(a.d<0){throw new $o}a.e.ub(a.d);a.c=a.d;a.d=-1}
function jo(a){if(!a.b||!a.c.b){throw new rs}a.b=false;return a.c.b}
function hn(a){while(++a.b<a.d.c){if(zr(a.d,a.b)!=null){return}}}
function Si(a,b){var c,d;c=a;d=Ti(0,b);Xi(c.aC,c.cM,c.qI,d);return d}
function Xi(a,b,c,d){_i();bj(d,Zi,$i);d.aC=a;d.cM=b;d.qI=c;return d}
function Nl(a,b,c,d){d=Ll(a,b,d);N(b);qo(a.b,b,d);Lk(c,b.p,d);P(b,a)}
function Gl(a){var b;b=new yo(a.b);while(b.b<b.c.d-1){wo(b);xo(b)}}
function gh(a){var b;b=a.c;if(b){return eh(a,b)}return a.b.clientY||0}
function fh(a){var b;b=a.c;if(b){return dh(a,b)}return a.b.clientX||0}
function rq(a){var b;b=a.c;a.c=null;if(a.d){a.d=false;--a.e}return b}
function fj(a){if(a!=null&&(a.tM==ts||cj(a,1))){throw new Vo}return a}
function er(a){if(a.c>=a.e.kb()){throw new rs}return a.e.rb(a.d=a.c++)}
function $d(){if(Xd++==0){fe((ee(),de));return true}return false}
function Ar(a,b,c){for(;c<a.c;++c){if(ss(b,a.b[c])){return c}}return -1}
function Br(a,b){var c;c=(Wq(b,a.c),a.b[b]);Mr(a.b,b,1);--a.c;return c}
function gf(a){var b=a.parentNode;(!b||b.nodeType!=1)&&(b=null);return b}
function Nn(a){return function(){this.__gwt_resolve=On;return a.u()}}
function Pn(b){try{return !!b&&!!b.__gwt_resolve}catch(a){return false}}
function On(){throw 'A PotentialElement cannot be resolved twice.'}
function sf(a){return a.getBoundingClientRect&&a.getBoundingClientRect()}
function Kg(a,b){return a.clientX-mf(b)+of(b)+of(b.ownerDocument.body)}
function fq(a,b){return b==null?a.d:gj(b,1)?kq(a,ej(b,1)):jq(a,b,~~Vd(b))}
function gq(a,b){return b==null?a.c:gj(b,1)?iq(a,ej(b,1)):hq(a,b,~~Vd(b))}
function kj(a){return ~~Math.max(Math.min(a,2147483647),-2147483648)}
function fc(a,b){Vb();$b.call(this,b);this.c=115;this.d=115;this.b=a}
function bj(a,b,c){_i();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function aj(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function oq(e,a,b){var c,d=e.f;a=ct+a;a in d?(c=d[a]):++e.e;d[a]=b;return c}
function po(a,b){var c;for(c=0;c<a.d;++c){if(a.b[c]==b){return c}}return -1}
function Ll(a,b,c){var d;Ml(a,c);if(b.o==a){d=po(a.b,b);d<c&&--c}return c}
function Cr(a,b){var c;c=Ar(a,b,0);if(c==-1){return false}Br(a,c);return true}
function vl(a,b){var c;c=zl(b);if(c<0){return null}return ej(zr(a.c,c),52)}
function xl(a,b){var c;c=zl(b);b[Pt]=null;Dr(a.c,c,null);a.b=new Bl(c,a.b)}
function Pe(a,b){var c;c=Ke(a,b);return c.length==0?(new Ee).W(b):ze(c,1)}
function mf(a){var b;b=sf(a);return b?b.left+of(a.ownerDocument.body):qf(a)}
function kf(a){var b=a.button;if(b==1){return 4}else if(b==2){return 2}return 1}
function Yk(){var a;if(Tk){a=new al;!!Uk&&oi(Uk,a);return null}return null}
function kd(a,b){if(a.d<b.c||a.c>b.d||a.b<b.e||a.e>b.b){return false}return true}
function xo(a){if(a.b<0||a.b>=a.c.d){throw new $o}a.c.c.ab(a.c.b[a.b--])}
function Do(){Do=ts;Bo=(Hk(),new Ek($moduleBase+'clear.cache.gif'))}
function pb(a,b){if(Cr(a.r.k,b)){H(b.p,Ms,false)}else{yr(a.r.k);xr(a.r.k,b)}}
function Jm(a,b){var c,d;d=a.b;for(c=0;c<d;++c){Gm(a,b,c,false)}_e(a.d,vn(a.d,b))}
function Gn(a,b){var c;c=cf(b.p,$t);wp(It,c)&&(a.b=new Kn(a,b),ke((ee(),de),a.b))}
function lr(a,b){var c;this.b=a;this.e=a;c=a.kb();(b<0||b>c)&&Zq(b,c);this.c=b}
function _g(a,b){$g.call(this);this.b=b;!Qg&&(Qg=new Eh);Dh(Qg,a,this);this.c=a}
function Cd(a,b){Bd(this,a);Ad(this,b);this.b=this.f-this.c;this.e=this.g-this.d}
function An(a,b,c,d,e){yn(this,new In(this,a,b,c,d,e));this.p[Bs]='gwt-Image'}
function gd(a){Vb();$b.call(this,a);H(a.p,'dragdrop-boundary',true);this.b=true}
function $b(a){this.n=a;H(a.p,'dragdrop-dropTarget',true);this.e=new Fr;this.f=a}
function Dq(a){var b;b=new Fr;a.d&&xr(b,new Kq(a));dq(a,b);cq(a,b);this.b=new gr(b)}
function Wb(a){var b;b=new Cd(a.f,null);a.j=b.b+(vd(),Ld(a.f.p));a.k=b.e+Md(a.f.p)}
function pm(a,b,c){a.d=false;c?ef(a.b,b):lf(a.b,b);if(a.e!=a.c){a.e=a.c;Ji(a.b,a.c)}}
function lq(a,b,c){return b==null?nq(a,c):gj(b,1)?oq(a,ej(b,1),c):mq(a,b,c,~~Vd(b))}
function Xc(a,b,c){this.b=b;!!c&&I(c,a,(bi(),bi(),ai));!!c&&I(c,a,(ih(),ih(),hh))}
function ae(a,b,c){var d;d=$d();try{return Zd(a,b,c)}finally{d&&ge((ee(),de));--Xd}}
function Kk(a,b,c){var d;d=Ik;Ik=a;b==Jk&&gl(a.type)==8192&&(Jk=null);c.A(a);Ik=d}
function fe(a){var b,c;if(a.c){c=null;do{b=a.c;a.c=null;c=qe(b,c)}while(a.c);a.c=c}}
function ge(a){var b,c;if(a.d){c=null;do{b=a.d;a.d=null;c=qe(b,c)}while(a.d);a.d=c}}
function jn(a){var b;if(a.b>=a.d.c){throw new rs}b=ej(zr(a.d,a.b),54);hn(a);return b}
function Gg(a){var b;if(!a.b){b=$doc.getElementsByTagName('head')[0];a.b=b}return a.b}
function Oe(a){var b;b=ze(Pe(a,De()),3);b.length==0&&(b=ze((new Ee).U(),1));return b}
function ff(a){var b=a.firstChild;while(b&&b.nodeType!=1)b=b.nextSibling;return b}
function z(a,b){var c=a.parentNode;if(!c){return}c.insertBefore(b,a);c.removeChild(a)}
function xp(b,a){if(a==null)return false;return b==a||b.toLowerCase()==a.toLowerCase()}
function _d(b){return function(){try{return ae(b,this,arguments)}catch(a){throw a}}}
function Gd(c,a,b){return c.S(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style[b]}
function dh(a,b){var c;c=a.b;return (c.clientX||0)-mf(b)+of(b)+of(b.ownerDocument.body)}
function nf(a){var b;b=sf(a);return b?b.top+(a.ownerDocument.body.scrollTop||0):rf(a)}
function ub(a){var b;b=new Cd(a.r.b,null);a.d=b.b+(vd(),Ld(a.r.b.p));a.e=b.e+Md(a.r.b.p)}
function he(a){var b;if(a.b){b=a.b;a.b=null;!a.g&&(a.g=[]);qe(b,a.g)}!!a.g&&(a.g=pe(a.g))}
function wl(a,b){var c;if(!a.b){c=a.c.c;xr(a.c,b)}else{c=a.b.b;Dr(a.c,c,b);a.b=a.b.c}b.p[Pt]=c}
function O(a,b){a.j&&(a.p.__listener=null,undefined);!!a.p&&z(a.p,b);a.p=b;a.j&&il(a.p,a)}
function Lg(a,b){return a.clientY-nf(b)+(b.scrollTop||0)+(b.ownerDocument.body.scrollTop||0)}
function Kd(){var a=$wnd.getSelection();a.removeAllRanges?a.removeAllRanges():a.collapse()}
function Fg(a){var b;b=$doc.createElement('style');b['language']='text/css';lf(b,a);return b}
function en(a){cn.call(this,$doc.createElement(Qt));this.p[Bs]='gwt-HTML';pm(this.b,a,true)}
function bn(){_m.call(this,$doc.createElement(Qt));this.p[Bs]='gwt-Label';pm(this.b,'x',false)}
function Rr(a,b,c){var d,e,f;d=(e=a,f=e.slice(b,c),Xi(e.aC,e.cM,e.qI,f),f);Sr(d,a,b,c,-b)}
function Uj(a){var b,c,d;b=a&4194303;c=~~a>>22&4194303;d=a<0?1048575:0;return Vj(b,c,d)}
function ck(){ck=ts;_j=Vj(4194303,4194303,524287);ak=Vj(0,0,524288);Yj(1);Yj(2);bk=Yj(0)}
function to(a){this.c=a;this.b=Ui(Lj,{26:1,29:1,38:1,43:1,49:1,53:1,55:1,58:1,66:1},54,4,0)}
function nb(a){var b,c;for(b=new gr(a.r.k);b.c<b.e.kb();){c=ej(er(b),54);H(c.p,Ms,false);fr(b)}}
function Yb(a){var b,c;for(c=new gr(a.e);c.c<c.e.kb();){b=ej(er(c),10);N(b.f);Ul(a.f,b.j,b.b,b.c)}}
function Gc(a,b){var c;c=ej(gq(a.d,Dc),7).b;!!b.b.ctrlKey||!!b.b.metaKey||nb(a.c.e);pb(a.c.e,c)}
function Vp(a,b){var c;while(a.gb()){c=a.hb();if(b==null?c==null:Ud(b,c)){return a}}return null}
function tm(a,b){if(a.b!=b){return false}try{P(b,null)}finally{_e(a.p,b.p);a.b=null}return true}
function pf(a,b){while(b){if(a==b){return true}b=b.parentNode;b&&b.nodeType!=1&&(b=null)}return false}
function um(a,b){if(b==a.b){return}!!b&&N(b);!!a.b&&tm(a,a.b);a.b=b;if(b){Ze(a.p,Mn(a.b.p));P(b,a)}}
function Mm(a,b,c,d){var e;Qm(a,b,c);e=Gm(a,b,c,true);if(d){N(d);wl(a.i,d);Ze(e,Mn(d.p));P(d,a)}}
function je(a){if(!a.j){a.j=true;!a.f&&(a.f=new te(a));re(a.f,1);!a.i&&(a.i=new we(a));re(a.i,50)}}
function Rc(a){a.c.n=null;a.c.e.E();Qc(a);C(a.b,bf((Un(),Yn(null)).p,Qs),bf(Yn(null).p,Rs));a.e=2}
function Wl(){Xl.call(this,$doc.createElement(Qt));this.p.style[ft]='relative';this.p.style[Os]=Rt}
function Vl(a,b,c){var d;d=a.p;if(b==-1&&c==-1){Yl(d)}else{d.style[ft]=it;d.style[Ys]=b+zs;d.style[Zs]=c+zs}}
function dq(e,a){var b=e.f;for(var c in b){if(c.charCodeAt(0)==58){var d=new Pq(e,c.substring(1));a.ib(d)}}}
function Io(){return function(a){var b=this.parentNode;b.onfocus&&$wnd.setTimeout(function(){b.focus()},0)}}
function re(b,c){ee();$wnd.setTimeout(function(){var a=ws(ne)(b);a&&$wnd.setTimeout(arguments.callee,c)},c)}
function ob(a,b){Jc(a.t,b,b);H(b.p,'dragdrop-draggable',true);H(b.p,'dragdrop-handle',true);lq(lb,b,b)}
function Ad(a,b){if(!b||b==(Un(),Yn(null))){a.c=0;a.d=0}else{a.c=mf(b.p)+(vd(),Ld(b.p));a.d=nf(b.p)+Md(b.p)}}
function Bd(a,b){if(!b||b==(Un(),Yn(null))){a.f=0;a.g=0}else{a.f=mf(b.p)-of(b.p);a.g=nf(b.p)-(b.p.scrollTop||0)}}
function eh(a,b){var c;c=a.b;return (c.clientY||0)-nf(b)+(b.scrollTop||0)+(b.ownerDocument.body.scrollTop||0)}
function Ol(a,b){var c;if(b.o!=a){return false}try{P(b,null)}finally{c=b.p;_e(gf(c),c);so(a.b,b)}return true}
function Im(a,b){var c;if(b.o!=a){return false}try{P(b,null)}finally{c=b.p;_e(gf(c),c);xl(a.i,c)}return true}
function Ii(a){var b;b=cf(a,qt);if(xp(et,b)){return Oi(),Ni}else if(xp(rt,b)){return Oi(),Mi}return Oi(),Li}
function jp(a){var b,c;if(a>-129&&a<128){b=a+128;c=(lp(),kp)[b];!c&&(c=kp[b]=new fp(a));return c}return new fp(a)}
function Lp(a){Jp();var b=ct+a;var c=Ip[b];if(c!=null){return c}c=Gp[b];c==null&&(c=Kp(a));Mp();return Ip[b]=c}
function Ib(a){mb();var b,c;c=~~((a.j-nf(Yn(xs).p))/115);b=~~((a.i-mf(Yn(xs).p))/115);return Xi(Ej,{58:1},-1,[c,b])}
function zb(a){var b,c,d;for(d=new gr(a.r.k);d.c<d.e.kb();){c=ej(er(d),54);b=ej(gq(a.o,c),8);c.p.style[Ss]=b.c}}
function gwtOnLoad(b,c,d,e){$moduleName=c;$moduleBase=d;if(b)try{ws(Sj)()}catch(a){b(c)}else{ws(Sj)()}}
function sn(a){if(!a.b){a.b=$doc.createElement('colgroup');Lk(a.c.g,a.b,0);Ze(a.b,Mn($doc.createElement(Zt)))}}
function Ai(a){var b,c;if(a.b){try{for(c=new gr(a.b);c.c<c.e.kb();){b=ej(er(c),56);vi(b.b,b.d,b.c)}}finally{a.b=null}}}
function ro(a,b){var c;if(b<0||b>=a.d){throw new bp}--a.d;for(c=b;c<a.d;++c){Yi(a.b,c,a.b[c+1])}Yi(a.b,a.d,null)}
function L(a,b){var c;switch(gl(b.type)){case 16:case 32:c=b.relatedTarget;if(!!c&&pf(a.p,c)){return}}Tg(b,a,a.p)}
function xq(a,b){var c,d,e;if(gj(b,73)){c=ej(b,73);d=c.nb();if(fq(a.b,d)){e=gq(a.b,d);return as(c.ob(),e)}}return false}
function xi(a,b){var c,d;d=ej(gq(a.e,b),72);if(!d){d=new bs;lq(a.e,b,d)}c=ej(d.c,71);if(!c){c=new Fr;nq(d,c)}return c}
function zi(a,b){var c,d;d=ej(gq(a.e,b),72);if(!d){return Vr(),Vr(),Ur}c=ej(d.c,71);if(!c){return Vr(),Vr(),Ur}return c}
function Ke(a,b){var c,d,e;e=b&&b.stack?b.stack.split('\n'):[];for(c=0,d=e.length;c<d;++c){e[c]=a.V(e[c])}return e}
function bd(a){var b,c,d;c=Ui(Oj,{58:1,66:1},68,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw new rp}c[d]=a[d]}}
function Ce(){var a,b,c,d;c=Oe(new Qe);d=Ui(Oj,{58:1,66:1},68,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=new up(c[a])}bd(d)}
function Qr(a,b,c,d,e,f,g){var i;i=c;while(f<g){i>=d||b<c&&ej(a[b],60).cT(a[i])<=0?Yi(e,f++,a[b++]):Yi(e,f++,a[i++])}}
function Pr(a,b,c){var d,e,f;for(d=b+1;d<c;++d){for(e=d;e>b&&ej(a[e-1],60).cT(a[e])>0;--e){f=a[e];Yi(a,e,a[e-1]);Yi(a,e-1,f)}}}
function Ic(b,c,d){var a,e;Fc(b,c,d);try{b.c.e.F()}catch(a){a=Tj(a);if(gj(a,9)){e=a;b.c.n=e}else throw a}b.c.e.D()}
function Hm(a,b,c){var d,e;d=ff(b);e=null;!!d&&(e=ej(vl(a.i,d),54));if(e){Im(a,e);return true}else{c&&ef(b,Cs);return false}}
function Er(a,b){var c;b.length<a.c&&(b=Si(b,a.c));for(c=0;c<a.c;++c){Yi(b,c,a.b[c])}b.length>a.c&&Yi(b,a.c,null);return b}
function $j(a,b){var c,d,e;c=a.l-b.l;d=a.m-b.m+(~~c>>22);e=a.h-b.h+(~~d>>22);return Vj(c&4194303,d&4194303,e&1048575)}
function Ff(){Ff=ts;Df=new Hf;Bf=new Jf;Af=new Lf;Cf=new Nf;Ef=new Pf;Xi(Hj,{58:1,66:1},13,[Df,Bf,Af,Cf,Ef])}
function Oi(){Oi=ts;Ni=new Pi('RTL',0);Mi=new Pi('LTR',1);Li=new Pi('DEFAULT',2);Xi(Jj,{58:1,66:1},30,[Ni,Mi,Li])}
function Bk(){Bk=ts;new sk;wk=new RegExp(tt,ut);xk=new RegExp(vt,ut);yk=new RegExp(wt,ut);Ak=new RegExp(xt,ut);zk=new RegExp(yt,ut)}
function Rm(a,b){if(b<0){throw new cp('Cannot access a row with a negative index: '+b)}if(b>=a.c){throw new cp(Ut+b+Vt+a.c)}}
function Em(a,b,c){var d;Fm(a,b);if(c<0){throw new cp('Column '+c+' must be non-negative: '+c)}d=a.b;if(d<=c){throw new cp(St+c+Tt+a.b)}}
function Qm(a,b,c){Rm(a,b);if(c<0){throw new cp('Cannot access a column with a negative index: '+c)}if(c>=a.b){throw new cp(St+c+Tt+a.b)}}
function Yi(a,b,c){if(c!=null){if(a.qI>0&&!dj(c,a.qI)){throw new Po}if(a.qI<0&&(c.tM==ts||cj(c,1))){throw new Po}}return a[b]=c}
function jq(i,a,b){var c=i.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.nb();if(i.mb(a,g)){return true}}}return false}
function hq(i,a,b){var c=i.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.nb();if(i.mb(a,g)){return f.ob()}}}return null}
function cq(i,a){var b=i.b;for(var c in b){var d=parseInt(c,10);if(c==d){var e=b[d];for(var f=0,g=e.length;f<g;++f){a.ib(e[f])}}}}
function Be(a,b){var c,d,e,f;e=Pe(a,hj(b.b)?fj(b.b):null);f=Ui(Oj,{58:1,66:1},68,e.length,0);for(c=0,d=f.length;c<d;++c){f[c]=new up(e[c])}bd(f)}
function Yj(a){var b,c;if(a>-129&&a<128){b=a+128;Wj==null&&(Wj=Ui(Kj,{58:1,66:1},31,256,0));c=Wj[b];!c&&(c=Wj[b]=Uj(a));return c}return Uj(a)}
function Ji(a,b){switch(b.b){case 0:{a[qt]=et;break}case 1:{a[qt]=rt;break}case 2:{Ii(a)!=(Oi(),Li)&&(a[qt]=Cs,undefined);break}}}
function Tg(a,b,c){var d,e,f;if(Qg){f=ej(Ch(Qg,a.type),16);if(f){d=f.b.b;e=f.b.c;Rg(f.b,a);Sg(f.b,c);J(b,f.b);Rg(f.b,d);Sg(f.b,e)}}}
function rl(a,b,c){var d=0,e=a.firstChild,f=null;while(e){if(e.nodeType==1){if(d==c){f=e;break}++d}e=e.nextSibling}a.insertBefore(b,f)}
function Ap(c){if(c.length==0||c[0]>dt&&c[c.length-1]>dt){return c}var a=c.replace(/^(\s*)/,Cs);var b=a.replace(/\s*$/,Cs);return b}
function I(a,b,c){var d;d=gl(c.c);d==-1?F(a,c.c):a.k==-1?Qk(a.p,d|(a.p.__eventBits||0)):(a.k|=d);return ni(!a.n?(a.n=new pi(a)):a.n,c,b)}
function ye(a){var b,c,d;d=Cs;a=Ap(a);b=a.indexOf(at);if(b!=-1){c=a.indexOf('function')==0?8:0;d=Ap(a.substr(c,b-c))}return d.length>0?d:bt}
function Gb(a,b){mb();this.p=b;this.r=new qc(this);this.t=new Sc(this.r);this.g=new Fr;this.c=new gd(b);xb(this,this.c);this.f=new uc(this.g);this.b=a}
function Wi(a,b,c,d,e,f,g){var i,j,k,n;k=d[e];j=e==f-1;n=Ti(j?g:0,k);Xi(a[e],b[e],c[e],n);if(!j){++e;for(i=0;i<k;++i){n[i]=Wi(a,b,c,d,e,f,g)}}return n}
function qe(b,c){var a,d,e,f;for(d=0,e=b.length;d<e;++d){f=b[d];try{f[1]?f[0].T()&&(c=oe(c,f)):f[0].P()}catch(a){a=Tj(a);if(!gj(a,67))throw a}}return c}
function Um(a,b){if(a.c==b){return}if(b<0){throw new cp('Cannot set number of rows to '+b)}if(a.c<b){Wm(a.d,b-a.c,a.b);a.c=b}else{while(a.c>b){Sm(a,a.c-1)}}}
function wc(a,b,c){var d,e;if(b==c){return 0}else{if(pf(b,c)){return -1}else{if(pf(c,b)){return 1}else{d=gf(b);e=gf(c);if(!!d&&!!e){return wc(a,d,e)}return 0}}}}
function $f(){$f=ts;Zf=new ag;Xf=new cg;Sf=new eg;Tf=new gg;Yf=new ig;Wf=new kg;Uf=new mg;Rf=new og;Vf=new qg;Xi(Ij,{58:1,66:1},15,[Zf,Xf,Sf,Tf,Yf,Wf,Uf,Rf,Vf])}
function N(a){if(!a.o){(Un(),es(Tn,a))&&Wn(a)}else if(gj(a.o,44)){ej(a.o,44).ab(a)}else if(a.o){throw new _o("This widget's parent does not implement HasWidgets")}}
function Z(a,b){var c;if(a.i){throw new _o('Composite.initWidget() may only be called once.')}N(b);c=b.p;a.p=c;Pn(c)&&(c.__gwt_resolve=Nn(a),undefined);a.i=b;P(b,a)}
function of(a){if(a.ownerDocument.defaultView.getComputedStyle(a,Cs).direction==et){return (a.scrollLeft||0)-((a.scrollWidth||0)-a.clientWidth)}return a.scrollLeft||0}
function M(a){if(!a.y()){throw new _o("Should only call onDetach when the widget is attached to the browser's document")}try{a.w()}finally{a.p.__listener=null;a.j=false}}
function Nc(a,b){if(b.b.touches.length!=0){return}if(!Dc){return}try{if(a.e==1){Gc(a,b);return}try{Ic(a,a.c.i,a.c.j);a.e!=3&&Gc(a,b)}finally{Hc(a)}}finally{Dc=null;Hc(a)}}
function tn(a,b,c){var d,e;b=b>1?b:1;e=a.b.childNodes.length;if(e<b){for(d=e;d<b;++d){Ze(a.b,$doc.createElement(Zt))}}else if(!c&&e>b){for(d=e;d>b;--d){_e(a.b,a.b.lastChild)}}}
function Gi(a){Sd.call(this,'One or more exceptions caught, see full set in UmbrellaException#getCauses',a.kb()==0?null:ej(a.lb(Ui(Qj,{58:1,66:1,70:1},69,0,0)),70)[0]);this.b=a}
function Ld(a){var b=$doc.defaultView.getComputedStyle(a,null);if(b!=null){var c=b.getPropertyValue($s);return c.indexOf(zs)==-1?0:parseInt(c.substr(0,c.length-2))}else{return 0}}
function Md(a){var b=$doc.defaultView.getComputedStyle(a,null);if(b!=null){var c=b.getPropertyValue(_s);return c.indexOf(zs)==-1?0:parseInt(c.substr(0,c.length-2))}else{return 0}}
function ui(a,b,c){if(!b){throw new sp('Cannot add a handler with a null type')}if(!c){throw new sp('Cannot add a null handler')}a.c>0?ti(a,new No(a,b,c)):vi(a,b,c);return new Lo}
function Ti(a,b){var c=new Array(b);if(a==3){for(var d=0;d<b;++d){var e=new Object;e.l=e.m=e.h=0;c[d]=e}}else if(a>0){var e=[null,0,false][a];for(var d=0;d<b;++d){c[d]=e}}return c}
function Jc(b,c,d){var a,e;try{e=new Xc(b,c,d);lq(b.d,d,e)}catch(a){a=Tj(a);if(gj(a,62)){throw new Sd('dragHandle must implement HasMouseDownHandlers to be draggable')}else throw a}}
--></script>
<script><!--
function qq(i,a,b){var c=i.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.nb();if(i.mb(a,g)){c.length==1?delete i.b[b]:c.splice(d,1);--i.e;return f.ob()}}}return null}
function P(a,b){var c;c=a.o;if(!b){try{!!c&&c.y()&&a.B()}finally{a.o=null}}else{if(c){throw new _o('Cannot set a new parent without first clearing the old parent')}a.o=b;b.y()&&a.z()}}
function sc(a,b,c){var d,e,f,g;f=new rd(b,c);for(e=a.c.length-1;e>=0;--e){}for(e=a.c.length-1;e>=0;--e){d=a.c[e];g=d.c;if(g.c<=f.b&&f.b<=g.d&&g.e<=f.c&&f.c<=g.b){return d.b}}return null}
function fk(a){return $stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date).getTime(),type:'onModuleLoadStart',className:a})}
function gm(b,c){em();var a,d,e,f,g;d=null;for(g=b.cb();g.gb();){f=ej(g.hb(),54);try{c.fb(f)}catch(a){a=Tj(a);if(gj(a,69)){e=a;!d&&(d=new gs);ds(d,e)}else throw a}}if(d){throw new fm(d)}}
function Zj(a,b){var c,d;c=~~a.h>>19;d=~~b.h>>19;return c==0?d!=0||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(d==0||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}
function H(a,b,c){if(!a){throw new Rd('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.')}b=Ap(b);if(b.length==0){throw new Yo}c?af(a,b):df(a,b)}
function Fo(a,b){var c;c=new Pp;c.b.b+="<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='";Op(c,Ck(a.b));c.b.b+="' style='";Op(c,Ck(b.b));c.b.b+="' border='0'>";return new nk(c.b.b)}
function oi(b,c){var a,d,e;!c.d||(c.d=false,c.e=null);e=c.e;Pg(c,b.c);try{wi(b.b,c)}catch(a){a=Tj(a);if(gj(a,57)){d=a;throw new Hi(d.b)}else throw a}finally{e==null?(c.d=true,c.e=null):(c.e=e)}}
function Kp(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+vp(a,c++)}return b|0}
function yc(a){var b;this.b=a;b=a.I();if(!b.j){throw new _o('Unattached drop target. You must call DragController#unregisterDropController for all drop targets not attached to the DOM.')}this.c=new yd(b)}
function Vm(a,b){this.i=new yl;this.g=$doc.createElement('table');this.d=$doc.createElement('tbody');Ze(this.g,Mn(this.d));B(this,this.g);Km(this,new qn(this));Lm(this,new un(this));Tm(this,b);Um(this,a)}
function mq(k,a,b,c){var d=k.b[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var i=g.nb();if(k.mb(a,i)){var j=g.ob();g.pb(b);return j}}}else{d=k.b[c]=[]}var g=new ms(a,b);d.push(g);++k.e;return null}
function Yn(a){Un();var b,c;c=ej(gq(Sn,a),50);b=null;if(a!=null){if(!(b=tf($doc,a))){return null}}if(c){if(!b||c.p==b){return c}}Sn.e==0&&Vk(new co);!b?(c=new fo):(c=new Vn(b));lq(Sn,a,c);ds(Tn,c);return c}
function Sr(a,b,c,d,e){var f,g,i,j;f=d-c;if(f<7){Pr(b,c,d);return}i=c+e;g=d+e;j=i+(~~(g-i)>>1);Sr(b,a,i,j,-e);Sr(b,a,j,g,-e);if(ej(a[j-1],60).cT(a[j])<=0){while(c<d){Yi(b,c++,a[i++])}return}Qr(a,i,j,g,b,c,d)}
function Zb(a,b){var c,d;for(d=new gr(a.e);d.c<d.e.kb();){c=ej(er(d),10);c.b=b.c-a.j+c.g;c.c=b.d-a.k+c.i;c.b=np(0,op(c.b,a.i-c.e));c.c=np(0,op(c.c,a.g-c.d));Ul(a.f,c.f,c.b,c.c)}hf(ej(zr(a.e,a.e.c-1),10).f.p);Wb(a)}
function lc(a,b,c){this.d=new Wl;E(this.d,'chesssquarediv'+((a.b%2+b.b%2)%2==0?'white':'black'));if(c!=null){this.c=c;this.b=new zn('gfx/'+this.c+'.png',0,0,112,112);Tl(this.d,this.b)}this.f=a;this.e=b;Z(this,this.d)}
function K(a){var b;if(a.y()){throw new _o("Should only call onAttach when the widget is detached from the browser's document")}a.j=true;il(a.p,a);b=a.k;a.k=-1;b>0&&(a.k==-1?Qk(a.p,b|(a.p.__eventBits||0)):(a.k|=b));a.v();a.C()}
function Ck(a){Bk();a.indexOf(tt)!=-1&&(a=gk(wk,a,'&amp;'));a.indexOf(wt)!=-1&&(a=gk(yk,a,'&lt;'));a.indexOf(vt)!=-1&&(a=gk(xk,a,'&gt;'));a.indexOf(yt)!=-1&&(a=gk(zk,a,'&quot;'));a.indexOf(xt)!=-1&&(a=gk(Ak,a,'&#39;'));return a}
function Wm(a,b,c){var d=$doc.createElement(Wt);d.innerHTML=Xt;var e=$doc.createElement('tr');for(var f=0;f<c;f++){var g=d.cloneNode(true);e.appendChild(g)}a.appendChild(e);for(var i=1;i<b;i++){a.appendChild(e.cloneNode(true))}}
function nc(a,b,c){var d;d=false;wp(a,Gs)?(d=b.b*c.b==0):wp(a,Hs)?(d=mp(b.b*c.b)==2):wp(a,Fs)?(d=mp(b.b)==mp(c.b)):wp(a,Is)?(d=mp(b.b)==mp(c.b)||b.b*c.b==0):wp(a,Js)?(d=mp(b.b)<=1&&mp(c.b)<=1):wp(a,Ks)&&(d=b.b==-1&&c.b==0);return d}
function af(a,b){var c,d,e,f;b=Ap(b);f=a.className;c=f.indexOf(b);while(c!=-1){if(c==0||f.charCodeAt(c-1)==32){d=c+b.length;e=f.length;if(d==e||d<e&&f.charCodeAt(d)==32){break}}c=f.indexOf(b,c+1)}if(c==-1){f.length>0&&(f+=dt);a.className=f+b}}
function tc(a,b,c){var d,e,f,g,i,j;j=new Fr;if(c.f){d=new yd(b);for(g=new gr(a.b);g.c<g.e.kb();){f=ej(er(g),11);e=new yc(f);i=e.b.I();if(pf(c.f.p,i.p)){continue}kd(e.c,d)&&(Yi(j.b,j.c++,e),true)}}a.c=ej(Er(j,Ui(Gj,{6:1,58:1,66:1},5,j.c,0)),6);Tr(a.c)}
function qo(a,b,c){var d,e;if(c<0||c>a.d){throw new bp}if(a.d==a.b.length){e=Ui(Lj,{26:1,29:1,38:1,43:1,49:1,53:1,55:1,58:1,66:1},54,a.b.length*2,0);for(d=0;d<a.b.length;++d){Yi(e,d,a.b[d])}a.b=e}++a.d;for(d=a.d-1;d>c;--d){Yi(a.b,d,a.b[d-1])}Yi(a.b,c,b)}
function Jo(a){var b=$doc.createElement(Qt);b.tabIndex=0;var c=$doc.createElement('input');c.type='text';c.tabIndex=-1;var d=c.style;d.opacity=0;d.height=_t;d.width=_t;d.zIndex=-1;d.overflow=Rt;d.position=it;c.addEventListener(Et,a,false);b.appendChild(c);return b}
function xg(){wg();var a,b,c;c=null;if(vg.length!=0){a=vg.join(Cs);b=Ig((Eg(),Dg),a);!vg&&(c=b);vg.length=0}if(tg.length!=0){a=tg.join(Cs);b=Hg((Eg(),Dg),a);!tg&&(c=b);tg.length=0}if(ug.length!=0){a=ug.join(Cs);b=Hg((Eg(),Dg),a);!ug&&(c=b);ug.length=0}sg=false;return c}
function pe(a){var b,c,d,e,f,g;d=a.length;if(d==0){return null}b=false;f=Od();while(Od()-f<100){for(c=0;c<d;++c){g=a[c];if(!g){continue}if(!g[0].T()){a[c]=null;b=true}}}if(b){e=[];for(c=0;c<d;++c){!!a[c]&&(e[e.length]=a[c],undefined)}return e.length==0?null:e}else{return a}}
function In(a,b,c,d,e,f){var g,i;Hn();O(a,(g=$doc.createElement(Yt),ef(g,(i='width: '+e+'px; height: '+f+'px; background: url('+b.b+') no-repeat '+-c+'px '+-d+'px;',!Co&&(Co=new Go),Fo(Bo,new ik(i))).b),ff(g)));a.k==-1?Qk(a.p,133333119|(a.p.__eventBits||0)):(a.k|=133333119)}
function Mc(a,b){var c,d,e,f,g,i;if(Ec){return}f=ej(b.e,54);d=f.p;g=dh(b,d);i=eh(b,d);c=kf(b.b);if(c!=1){return}if(!Dc){return}try{vd();Kd();if(a.e==1){Gc(a,b);return}if(f!=a.b){e=new Cd(f,null);g+=e.b;i+=e.e}try{Ic(a,g,i);a.e!=3&&Gc(a,b)}finally{Hc(a)}}finally{Dc=null;Hc(a)}}
function yb(a){var b,c,d;for(d=new gr(a.r.k);d.c<d.e.kb();){c=ej(er(d),54);b=ej(gq(a.o,c),8);if(gj(b.d,39)){Ul(ej(b.d,39),c,b.e.b,b.e.e)}else if(gj(b.d,45)){ej(b.d,45).db(c,b.b)}else if(gj(b.d,51)){um(ej(b.d,51),c)}else{throw new Rd('Unable to handle initialDraggableParent '+b.d.x().b)}}}
function df(a,b){var c,d,e,f,g,i,j;b=Ap(b);j=a.className;e=j.indexOf(b);while(e!=-1){if(e==0||j.charCodeAt(e-1)==32){f=e+b.length;g=j.length;if(f==g||f<g&&j.charCodeAt(f)==32){break}}e=j.indexOf(b,e+1)}if(e!=-1){c=Ap(j.substr(0,e-0));d=Ap(zp(j,e+b.length));c.length==0?(i=d):d.length==0?(i=c):(i=c+dt+d);a.className=i}}
function wi(b,c){var a,d,e,f,g,i;if(!c){throw new sp('Cannot fire null event')}try{++b.c;g=yi(b,c.Z());d=null;i=b.d?g.tb(g.kb()):g.sb();while(b.d?i.c>0:i.c<i.e.kb()){f=b.d?kr(i):er(i);try{c.Y(ej(f,27))}catch(a){a=Tj(a);if(gj(a,69)){e=a;!d&&(d=new gs);ds(d,e)}else throw a}}if(d){throw new Gi(d)}}finally{--b.c;b.c==0&&Ai(b)}}
function Xb(a){var b,c,d,e;e=new vm;H(e.p,'dragdrop-positioner',true);e.p.style[Ss]=Ts;Ul((Un(),Yn(null)),e,-500,-500);um(e,Ub);b=new vm;b.p.style[Ss]=Ts;b.p.style['border']=Vs;d=bf(a.p,Qs)-(vd(),bf(e.p,Qs)-(e.p.clientWidth||0));c=bf(a.p,Rs)-(bf(e.p,Rs)-(e.p.clientHeight||0));d>=0&&Ok(b.p,ys,d+zs);c>=0&&Ok(b.p,As,c+zs);um(e,b);return e}
function Cl(){var d=$wnd.onbeforeunload;var e=$wnd.onunload;$wnd.onbeforeunload=function(a){var b,c;try{b=ws(Yk)()}finally{c=d&&d(a)}if(b!=null){return b}if(c!=null){return c}};$wnd.onunload=ws(function(a){try{Tk&&ki((!Uk&&(Uk=new el),Uk))}finally{e&&e(a);$wnd.onresize=null;$wnd.onscroll=null;$wnd.onbeforeunload=null;$wnd.onunload=null}})}
function Lc(a,b){var c,d,e,f,g;if(Ec){return}e=ej(b.e,54);c=e.p;f=dh(b,c);g=eh(b,c);if(a.e==3||a.e==2){if(e!=a.b){return}a.e=3}else{if(Dc){if(np(mp(f-a.i),mp(g-a.j))>=a.c.e.s){vd();Kd();Ar(a.c.k,a.c.f,0)!=-1||pb(a.c.e,a.c.f);d=new Cd(Dc,null);a.c.i=a.f+d.b;a.c.j=a.g+d.e;Rc(a)}else{b.b.preventDefault()}}if(a.e==1){return}}b.b.preventDefault();Fc(a,f,g)}
function Tm(a,b){var c,d,e,f,g,i,j;if(a.b==b){return}if(b<0){throw new cp('Cannot set number of columns to '+b)}if(a.b>b){for(c=0;c<a.c;++c){for(d=a.b-1;d>=b;--d){Em(a,c,d);e=Gm(a,c,d,false);f=vn(a.d,c);f.removeChild(e)}}}else{for(c=0;c<a.c;++c){for(d=a.b;d<b;++d){i=vn(a.d,c);g=(j=$doc.createElement(Wt),ef(j,Xt),j);rl(i,Mn(g),d)}}}a.b=b;tn(a.f,b,false)}
function Sc(a){var b;this.d=new bs;this.c=a;this.b=new Am;I(this.b,this,(ph(),ph(),oh));I(this.b,this,(wh(),wh(),vh));I(this.b,this,(Wh(),Wh(),Vh));I(this.b,this,(Ph(),Ph(),Oh));I(this.b,this,(Ih(),Ih(),Hh));b=this.b.p.style;b['filter']='alpha(opacity=0)';b.opacity=0;b['zIndex']='1000';b[Ss]=0+($f(),zs);b['borderStyle']=(Ff(),Vs);b['backgroundColor']='blue'}
function yd(a){var b,c,d,e,f,g;md(this,mf(a.p));od(this,nf(a.p));nd(this,this.c+bf(a.p,Qs));ld(this,this.e+bf(a.p,Rs));c=a.p.offsetParent;while(!!c&&!!(e=c.offsetParent)){if(!wp(Ps,(vd(),Gd(ud,c,Os)))){d=mf(c);this.c<d&&(this.c=d);g=nf(c);this.e<g&&(this.e=g);b=g+(c.offsetHeight||0);this.b>b&&ld(this,np(this.e,b));f=d+(c.offsetWidth||0);this.d>f&&nd(this,np(this.c,f))}c=e}}
function Oc(a,b){var c,d,e,f,g;if(b.b.touches.length!=1){return}b.b.preventDefault();e=ej(b.e,54);c=e.p;f=Kg(b.b.touches[0],c);g=Lg(b.b.touches[0],c);if(a.e==3||a.e==2){a.e=3}else{if(Dc){if(np(mp(f-a.f),mp(g-a.g))>=a.c.e.s){Ar(a.c.k,a.c.f,0)!=-1||pb(a.c.e,a.c.f);d=new Cd(Dc,null);a.c.i=a.f+d.b;a.c.j=a.g+d.e;f+=d.b;g+=d.e;Rc(a)}else{b.b.preventDefault()}}if(a.e==1){return}}b.b.preventDefault();Fc(a,f,g)}
function Xj(a){var b,c,d,e,f,g,i,j;if(isNaN(a)){return ck(),bk}if(a<-9223372036854775808){return ck(),ak}if(a>=9223372036854775807){return ck(),_j}e=false;if(a<0){e=true;a=-a}d=0;if(a>=17592186044416){d=kj(a/17592186044416);a-=d*17592186044416}c=0;if(a>=4194304){c=kj(a/4194304);a-=c*4194304}b=kj(a);f=Vj(b,c,d);e&&(g=~f.l+1&4194303,i=~f.m+(g==0?1:0)&4194303,j=~f.h+(g==0&&i==0?1:0)&1048575,f.l=g,f.m=i,f.h=j,undefined);return f}
function rf(a){if(a.offsetTop==null){return 0}var b=0;var c=a.ownerDocument;var d=a.parentNode;if(d){while(d.offsetParent){b-=d.scrollTop;d=d.parentNode}}while(a){b+=a.offsetTop;if(c.defaultView.getComputedStyle(a,Cs)[ft]==gt){b+=c.body.scrollTop;return b}var e=a.offsetParent;e&&$wnd.devicePixelRatio&&(b+=parseInt(c.defaultView.getComputedStyle(e,Cs).getPropertyValue(_s)));if(e&&e.tagName==ht&&a.style.position==it){break}a=e}return b}
function sl(a,b){switch(b){case 'drag':a.ondrag=ol;break;case 'dragend':a.ondragend=ol;break;case 'dragenter':a.ondragenter=nl;break;case 'dragleave':a.ondragleave=ol;break;case 'dragover':a.ondragover=nl;break;case 'dragstart':a.ondragstart=ol;break;case 'drop':a.ondrop=ol;break;case 'canplaythrough':case 'ended':case 'progress':a.removeEventListener(b,ol,false);a.addEventListener(b,ol,false);break;default:throw 'Trying to sink unknown event type '+b;}}
function Pc(a,b){var c,d,e,f,g;Ec=true;if(b.b.touches.length!=1){return}if(Dc){return}b.b.preventDefault();e=ej(b.e,54);f=Kg(b.b.touches[0],b.c);g=Lg(b.b.touches[0],b.c);Dc=e;a.c.f=ej(gq(a.d,Dc),7).b;nb(a.c.e);pb(a.c.e,a.c.f);b.b.preventDefault();a.f=f;a.g=g;c=new Cd(Dc,null);if(Dc!=a.c.f){d=new Cd(a.c.f,null);a.f+=c.b-d.b;a.g+=c.e-d.e}if(a.c.e.s==0&&!(!!b.b.ctrlKey||!!b.b.metaKey)){a.c.i=f+c.b;a.c.j=g+c.e;Rc(a);if(a.e==1){return}Fc(a,a.c.i,a.c.j)}else{Qc(a)}}
function Ab(a){var b,c,d;a.o=new bs;for(d=new gr(a.r.k);d.c<d.e.kb();){c=ej(er(d),54);b=new Zc;b.d=c.o;if(gj(b.d,39)){b.e=new Cd(c,b.d)}else if(gj(b.d,45)){b.b=ej(b.d,45).bb(c)}else if(gj(b.d,51));else{throw new Rd("Unable to handle 'initialDraggableParent instanceof "+b.d.x().b+"'; Please create your own "+oj.b+' and override saveSelectedWidgetsLocationAndStyle(), restoreSelectedWidgetsLocation() and restoreSelectedWidgetsStyle()')}b.c=c.p.style[Ss];c.p.style[Ss]=Ts;lq(a.o,c,b)}}
function fb(a){var b,c,d,e,f,g;if(a.e){c=new Vm(pp(~~(a.e.c/2))+1,2);for(d=0;d<a.e.c;++d){e=new Vm(1,2);b=ej(zr(a.e,d),2);g=new zn('http://upload.wikimedia.org/wikipedia/commons/b/b5/Chess_symbols.PNG',ej(gq(a.f,b.b),64)[0].b*62+15,ej(gq(a.f,b.b),64)[1].b+10,55,43);f=new en(Fp(97+b.c.b&65535)+Cs+(8-b.d.b));f.p[Bs]='chessmovelabel';Mm(e,0,0,g);Mm(e,0,1,f);Math.round(~~(d/2));om(f.b);e.p[Bs]=Ds;Mm(c,Math.round(~~(d/2)),d%2,e)}}else{c=new Vm(8,2)}c.p[Bs]='chessmovestable';Gl(Yn(Es));Tl(Yn(Es),c)}
function Kc(a,b){var c,d,e,f,g,i;if(Ec){return}if(a.e==3||a.e==2){return}f=ej(b.e,54);g=fh(b);i=gh(b);c=kf(b.b);if(c!=1){return}if(Dc){return}Dc=f;a.c.f=ej(gq(a.d,Dc),7).b;if(!(!!b.b.ctrlKey||!!b.b.metaKey)&&Ar(a.c.k,a.c.f,0)==-1){nb(a.c.e);pb(a.c.e,a.c.f)}ke((ee(),de),new Uc);b.b.preventDefault();a.f=g;a.g=i;d=new Cd(Dc,null);if(Dc!=a.c.f){e=new Cd(a.c.f,null);a.f+=d.b-e.b;a.g+=d.e-e.e}if(a.c.e.s==0&&!(!!b.b.ctrlKey||!!b.b.metaKey)){a.c.i=g+d.b;a.c.j=i+d.e;Rc(a);if(a.e==1){return}Fc(a,a.c.i,a.c.j)}else{a.i=a.f+d.b;a.j=a.g+d.e;Qc(a)}}
function qf(a){if(a.offsetLeft==null){return 0}var b=0;var c=a.ownerDocument;var d=a.parentNode;if(d){while(d.offsetParent){b-=d.scrollLeft;c.defaultView.getComputedStyle(d,Cs).getPropertyValue('direction')==et&&(b+=d.scrollWidth-d.clientWidth);d=d.parentNode}}while(a){b+=a.offsetLeft;if(c.defaultView.getComputedStyle(a,Cs)[ft]==gt){b+=c.body.scrollLeft;return b}var e=a.offsetParent;e&&$wnd.devicePixelRatio&&(b+=parseInt(c.defaultView.getComputedStyle(e,Cs).getPropertyValue($s)));if(e&&e.tagName==ht&&a.style.position==it){break}a=e}return b}
function hf(a){var b=a.offsetLeft,c=a.offsetTop;var d=a.offsetWidth,e=a.offsetHeight;if(a.parentNode!=a.offsetParent){b-=a.parentNode.offsetLeft;c-=a.parentNode.offsetTop}var f=a.parentNode;while(f&&f.nodeType==1){b<f.scrollLeft&&(f.scrollLeft=b);b+d>f.scrollLeft+f.clientWidth&&(f.scrollLeft=b+d-f.clientWidth);c<f.scrollTop&&(f.scrollTop=c);c+e>f.scrollTop+f.clientHeight&&(f.scrollTop=c+e-f.clientHeight);var g=f.offsetLeft,i=f.offsetTop;if(f.parentNode!=f.offsetParent){g-=f.parentNode.offsetLeft;i-=f.parentNode.offsetTop}b+=g-f.scrollLeft;c+=i-f.scrollTop;f=f.parentNode}}
function vb(a){var b,c,d,e,f,g,i,j,k,n;tc(a.f,a.p,a.r);D(a.r.f,Ns,true);a.k=Xj(Qp());c=new Cd(a.r.f,a.r.b);Ab(a);b=new Wl;b.p.style[Os]=Ps;C(b,bf(a.r.f.p,Qs),bf(a.r.f.p,Rs));Ul(a.r.b,b,c.b,c.e);d=mf(a.r.f.p);e=nf(a.r.f.p);n=new bs;for(k=new gr(a.r.k);k.c<k.e.kb();){j=ej(er(k),54);lq(n,j,new rd(mf(j.p),nf(j.p)))}a.r.g=wb(a,a.r.i,a.r.j);!!a.r.g&&a.r.g.K(a.r);for(k=new gr(a.r.k);k.c<k.e.kb();){j=ej(er(k),54);f=ej(!j?n.c:hq(n,j,~~be(j)),12);g=f.Q()-d;i=f.R()-e;Ul(b,j,g,i)}a.n=b;D(a.n,'dragdrop-movable-panel',true);ub(a);a.j=(vd(),a.p.p.clientWidth||0);a.i=a.p.p.clientHeight||0}
function gl(a){switch(a){case 'blur':return 4096;case 'change':return 1024;case Ct:return 1;case Dt:return 2;case Et:return 2048;case Ft:return 128;case Gt:return 256;case Ht:return 512;case It:return 32768;case 'losecapture':return 8192;case jt:return 4;case kt:return 64;case Jt:return 32;case Kt:return 16;case lt:return 8;case 'scroll':return 16384;case 'error':return 65536;case 'DOMMouseScroll':case Lt:return 131072;case 'contextmenu':return 262144;case 'paste':return 524288;case pt:return 1048576;case ot:return 2097152;case nt:return 4194304;case mt:return 8388608;case Mt:return 16777216;case Nt:return 33554432;case Ot:return 67108864;default:return -1;}}
function Sk(){var c=navigator.userAgent.toLowerCase();var d=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return c.indexOf(At)!=-1}())return At;if(function(){return c.indexOf('webkit')!=-1||function(){if(c.indexOf('chromeframe')!=-1){return true}if(typeof window['ActiveXObject']!='undefined'){try{var b=new ActiveXObject('ChromeTab.ChromeFrame');if(b){b.registerBhoIfNeeded();return true}}catch(a){}}return false}()}())return st;if(function(){return c.indexOf(Bt)!=-1&&$doc.documentMode>=9}())return 'ie9';if(function(){return c.indexOf(Bt)!=-1&&$doc.documentMode>=8}())return 'ie8';if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(c);if(a&&a.length==3)return d(a)>=6000}())return 'ie6';if(function(){return c.indexOf('gecko')!=-1}())return 'gecko1_8';return 'unknown'}
function Rk(){var a,b,c;b=$doc.compatMode;a=Xi(Pj,{58:1,66:1},1,[zt]);for(c=0;c<a.length;++c){if(wp(a[c],b)){return}}a.length==1&&wp(zt,a[0])&&wp('BackCompat',b)?"GWT no longer supports Quirks Mode (document.compatMode=' BackCompat').<br>Make sure your application's host HTML page has a Standards Mode (document.compatMode=' CSS1Compat') doctype,<br>e.g. by using &lt;!doctype html&gt; at the start of your application's HTML page.<br><br>To continue using this unsupported rendering mode and risk layout problems, suppress this message by adding<br>the following line to your*.gwt.xml module file:<br>&nbsp;&nbsp;&lt;extend-configuration-property name=\"document.compatMode\" value=\""+b+'"/&gt;':"Your *.gwt.xml module configuration prohibits the use of the current doucment rendering mode (document.compatMode=' "+b+"').<br>Modify your application's host HTML page doctype, or update your custom 'document.compatMode' configuration property settings."}
function ql(){ll=ws(function(a){return true});ol=ws(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&jl(b)&&Kk(a,c,b)});nl=ws(function(a){a.preventDefault();ol.call(this,a)});pl=ws(function(a){this.__gwtLastUnhandledEvent=a.type;ol.call(this,a)});ml=ws(function(a){var b=ll;if(b(a)){var c=kl;if(c&&c.__listener){if(jl(c.__listener)){Kk(a,c,c.__listener);a.stopPropagation()}}}});$wnd.addEventListener(Ct,ml,true);$wnd.addEventListener(Dt,ml,true);$wnd.addEventListener(jt,ml,true);$wnd.addEventListener(lt,ml,true);$wnd.addEventListener(kt,ml,true);$wnd.addEventListener(Kt,ml,true);$wnd.addEventListener(Jt,ml,true);$wnd.addEventListener(Lt,ml,true);$wnd.addEventListener(Ft,ll,true);$wnd.addEventListener(Ht,ll,true);$wnd.addEventListener(Gt,ll,true);$wnd.addEventListener(pt,ml,true);$wnd.addEventListener(ot,ml,true);$wnd.addEventListener(nt,ml,true);$wnd.addEventListener(mt,ml,true);$wnd.addEventListener(Mt,ml,true);$wnd.addEventListener(Nt,ml,true);$wnd.addEventListener(Ot,ml,true)}
function tl(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?ol:null);c&2&&(a.ondblclick=b&2?ol:null);c&4&&(a.onmousedown=b&4?ol:null);c&8&&(a.onmouseup=b&8?ol:null);c&16&&(a.onmouseover=b&16?ol:null);c&32&&(a.onmouseout=b&32?ol:null);c&64&&(a.onmousemove=b&64?ol:null);c&128&&(a.onkeydown=b&128?ol:null);c&256&&(a.onkeypress=b&256?ol:null);c&512&&(a.onkeyup=b&512?ol:null);c&1024&&(a.onchange=b&1024?ol:null);c&2048&&(a.onfocus=b&2048?ol:null);c&4096&&(a.onblur=b&4096?ol:null);c&8192&&(a.onlosecapture=b&8192?ol:null);c&16384&&(a.onscroll=b&16384?ol:null);c&32768&&(a.onload=b&32768?pl:null);c&65536&&(a.onerror=b&65536?ol:null);c&131072&&(a.onmousewheel=b&131072?ol:null);c&262144&&(a.oncontextmenu=b&262144?ol:null);c&524288&&(a.onpaste=b&524288?ol:null);c&1048576&&(a.ontouchstart=b&1048576?ol:null);c&2097152&&(a.ontouchmove=b&2097152?ol:null);c&4194304&&(a.ontouchend=b&4194304?ol:null);c&8388608&&(a.ontouchcancel=b&8388608?ol:null);c&16777216&&(a.ongesturestart=b&16777216?ol:null);c&33554432&&(a.ongesturechange=b&33554432?ol:null);c&67108864&&(a.ongestureend=b&67108864?ol:null)}
function Sj(){var a;!!$stats&&fk('com.google.gwt.user.client.UserAgentAsserter');a=Sk();wp(st,a)||($wnd.alert('ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (safari) does not match the runtime user.agent value ('+a+'). Expect more errors.\n'),undefined);!!$stats&&fk('com.google.gwt.user.client.DocumentModeAsserter');Rk();!!$stats&&fk('com.allen_sauer.gwt.dnd.client.util.DragEntryPoint');$wnd.$GWT_DND_VERSION='3.1.2';wg();vg.unshift('HTML{margin:0 !important;border:none !important;}.dragdrop-handle{cursor:move;user-select:none;-khtml-user-select:none;-moz-user-select:none;}.dragdrop-draggable{zoom:1;}.dragdrop-dragging{zoom:normal;}.dragdrop-positioner{border:1px dashed #1e90ff;margin:0 !important;zoom:1;z-index:100;}.dragdrop-flow-panel-positioner{color:#1e90ff;display:inline;text-align:center;vertical-align:middle;}.dragdrop-proxy{background-color:#7af;}.dragdrop-selected,.dragdrop-dragging,.dragdrop-proxy{filter:alpha(opacity\\=30);opacity:0.3;}.dragdrop-movable-panel{z-index:200;margin:0 !important;border:none !important;}');yg();!!$stats&&fk('chess.client.Chess');t(new u)}
function gb(){var a,b,c,d,e,f,g,i,j,k,n,o;this.e=new Fr;this.f=new bs;g=new Vm(2,2);f=new Vm(8,8);this.g=Vi([Rj,Fj],[{58:1,66:1},{4:1,26:1,29:1,38:1,41:1,43:1,47:1,49:1,53:1,55:1,58:1,66:1}],[4,3],[8,8],2,0);c=Xi(Pj,{58:1,66:1},1,[Fs,'w']);i=new Vm(1,8);for(e=0;e<8;++e){d=new en(String.fromCharCode(97+e&65535));d.p[Bs]='chessboardlabelcols';Mm(i,0,e,d)}i.p[Bs]=Ds;Mm(g,1,1,i);j=new Vm(8,1);for(n=0;n<8;++n){d=new en(Cs+(8-n));d.p[Bs]='chessboardlabelrows';Mm(j,n,0,d)}j.p[Bs]=Ds;Mm(g,0,0,j);for(e=0;e<8;++e){for(n=0;n<8;++n){o=null;for(k=0;k<2;++k){if(n==k*7){if(e%7==0){o=Gs;break}if((e-1)%5==0){o=Hs;break}if((e-2)%3==0){o=Fs;break}if(e==3){o=Is;break}if(e==4){o=Js;break}}if(n==1+k*5){o=Ks;break}}o!=null&&(o=c[k]+o);this.g[n][e]=new lc(jp(n),jp(e),o);Mm(f,n,e,this.g[n][e])}}f.p[Bs]=Ds;a=new Wl;b=new Wl;Kl(a,f,a.p);Kl(b,a,b.p);this.c=new Gb(this,b);this.d=new fc(this,a);xb(this.c,this.d);b.p.style[ys]=Ls;b.p.style[As]=Ls;for(e=0;e<8;++e){for(n=6;n<8;++n){ob(this.c,this.g[n][e].b)}}g.p[Bs]=Ds;Mm(g,0,1,b);Z(this,g);lq(this.f,'wk',Xi(Mj,{58:1,64:1,66:1},63,[jp(0),jp(0)]));lq(this.f,'wq',Xi(Mj,{58:1,64:1,66:1},63,[jp(1),jp(0)]));lq(this.f,'wr',Xi(Mj,{58:1,64:1,66:1},63,[jp(2),jp(0)]));lq(this.f,'wb',Xi(Mj,{58:1,64:1,66:1},63,[jp(3),jp(0)]));lq(this.f,'wn',Xi(Mj,{58:1,64:1,66:1},63,[jp(4),jp(0)]));lq(this.f,'wp',Xi(Mj,{58:1,64:1,66:1},63,[jp(5),jp(0)]));lq(this.f,'bk',Xi(Mj,{58:1,64:1,66:1},63,[jp(0),jp(22)]));lq(this.f,'bq',Xi(Mj,{58:1,64:1,66:1},63,[jp(1),jp(22)]));lq(this.f,'br',Xi(Mj,{58:1,64:1,66:1},63,[jp(2),jp(22)]));lq(this.f,'bb',Xi(Mj,{58:1,64:1,66:1},63,[jp(3),jp(22)]));lq(this.f,'bn',Xi(Mj,{58:1,64:1,66:1},63,[jp(4),jp(22)]));lq(this.f,'bp',Xi(Mj,{58:1,64:1,66:1},63,[jp(5),jp(22)]))}
var Cs='',dt=' ',yt='"',tt='&',Xt='&nbsp;',xt="'",at='(',Ws=', ',Tt=', Column size: ',Vt=', Row size: ',Ts='0px',_t='1px',Ls='920px',ct=':',wt='<',vt='>',ht='BODY',zt='CSS1Compat',xs='ChessContainer',cu='ChessSquare;',St='Column index: ',Es='GameHistoryContainer',Ut='Row index: ',eu='[Lcom.google.gwt.dom.client.',du='[Ljava.lang.',$t='__gwtLastUnhandledEvent',Pt='__uiObjectID',it='absolute',bt='anonymous',Fs='b',$s='border-left-width',_s='border-top-width',bu='chess.client.',Ds='chessboardtable',Bs='className',Ct='click',Zt='col',au='com.google.gwt.user.client.ui.',Dt='dblclick',qt='dir',Qt='div',Ns='dragdrop-dragging',Us='dragdrop-dropTarget-engage',Ms='dragdrop-selected',gt='fixed',Et='focus',ut='g',Nt='gesturechange',Ot='gestureend',Mt='gesturestart',Xs='hash code not implemented',As='height',Rt='hidden',Js='k',Ft='keydown',Gt='keypress',Ht='keyup',Ys='left',It='load',rt='ltr',Ss='margin',jt='mousedown',kt='mousemove',Jt='mouseout',Kt='mouseover',lt='mouseup',Lt='mousewheel',Bt='msie',Hs='n',Vs='none',Rs='offsetHeight',Qs='offsetWidth',At='opera',Os='overflow',Ks='p',ft='position',zs='px',Is='q',Gs='r',et='rtl',st='safari',Yt='span',Wt='td',Zs='top',mt='touchcancel',nt='touchend',ot='touchmove',pt='touchstart',Ps='visible',ys='width';var _,us={l:0,m:0,h:0},vs={l:100,m:0,h:0};_=q.prototype={};_.eQ=function r(a){return this===a};_.hC=function s(){return be(this)};_.tM=ts;_.cM={};_=u.prototype=p.prototype=new q;_.b=null;_=y.prototype=new q;_.u=function G(){return A()};_.cM={42:1,52:1};_.p=null;_=x.prototype=new y;_.v=function R(){};_.w=function S(){};_.x=function T(){return Dj};_.y=function U(){return this.j};_.z=function V(){K(this)};_.A=function W(a){L(this,a)};_.B=function X(){M(this)};_.C=function Y(){};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_.j=false;_.k=0;_.n=null;_.o=null;_=w.prototype=new x;_.x=function $(){return rj};_.y=function ab(){if(this.i){return this.i.j}return false};_.z=function bb(){if(this.k!=-1){Q(this.i,this.k);this.k=-1}K(this.i);this.p.__listener=this};_.A=function cb(a){L(this,a);L(this.i,a)};_.B=function db(){M(this.i)};_.u=function eb(){B(this,A());return this.p};_.cM={25:1,28:1,37:1,40:1,42:1,46:1,48:1,52:1,54:1};_.i=null;_=gb.prototype=v.prototype=new w;_.x=function hb(){return mj};_.cM={25:1,28:1,37:1,40:1,42:1,46:1,48:1,52:1,54:1};_.b=null;_.c=null;_.d=null;_.g=null;_=kb.prototype=new q;_.D=function qb(){D(this.r.f,Ns,false)};_.E=function rb(){this.G();D(this.r.f,Ns,true)};_.F=function sb(){};_.G=function tb(){};_.p=null;_.q=false;_.r=null;_.s=0;_.t=null;var lb;_=jb.prototype=new kb;_.D=function Bb(){if(this.r.n){this.r.g.L(this.r);this.r.g=null;yb(this)}else{this.r.g.J(this.r);this.r.g.L(this.r);this.r.g=null}zb(this);N(this.n);this.n=null;D(this.r.f,Ns,false)};_.H=function Cb(){var a,b,c,d;d=Xj(Qp());if(Zj($j(d,this.k),vs)){this.k=d;tc(this.f,this.p,this.r);ub(this)}a=this.r.c-this.d;b=this.r.d-this.e;if(this.q){a=np(0,op(a,this.j-bf(this.r.f.p,Qs)));b=np(0,op(b,this.i-bf(this.r.f.p,Rs)))}wd(this.n.p,a,b);c=wb(this,this.r.i,this.r.j);if(this.r.g!=c){!!this.r.g&&this.r.g.L(this.r);this.r.g=c;!!this.r.g&&this.r.g.K(this.r)}!!this.r.g&&this.r.g.M(this.r)};_.E=function Db(){vb(this)};_.F=function Eb(){var a,b;try{this.r.g.N(this.r)}catch(a){a=Tj(a);if(gj(a,9)){b=a;throw b}else throw a}};_.G=function Fb(){tc(this.f,this.p,this.r)};_.c=null;_.d=0;_.e=0;_.f=null;_.i=0;_.j=0;_.k=us;_.n=null;_.o=null;_=Gb.prototype=ib.prototype=new jb;_.E=function Hb(){var a,b;b=this.r;a=Ib(b);this.b.b=this.b.g[a[0]][a[1]];nf(Yn(xs).p);mf(Yn(xs).p);vb(this)};_.b=null;_=Nb.prototype=new q;_.I=function Ob(){return this.n};_.J=function Pb(a){};_.K=function Qb(a){D(this.n,Us,true)};_.L=function Rb(a){D(this.n,Us,false)};_.M=function Sb(a){};_.N=function Tb(a){};_.cM={11:1};_.n=null;_=Mb.prototype=new Nb;_.cM={11:1};_=Lb.prototype=new Mb;_.O=function _b(a){return Xb(a)};_.J=function ac(a){Yb(this)};_.K=function bc(a){var b,c,d,e,f;H(this.n.p,Us,true);this.i=(vd(),this.f.p.clientWidth||0);this.g=this.f.p.clientHeight||0;Wb(this);c=mf(a.f.p);d=nf(a.f.p);for(f=new gr(a.k);f.c<f.e.kb();){e=ej(er(f),54);b=new ed(e);b.f=this.O(e);b.g=mf(e.p)-c;b.i=nf(e.p)-d;xr(this.e,b)}};_.L=function cc(a){var b,c;for(c=new gr(this.e);c.c<c.e.kb();){b=ej(er(c),10);N(b.f)}yr(this.e);H(this.n.p,Us,false)};_.M=function dc(a){Zb(this,a)};_.cM={11:1};_.f=null;_.g=0;_.i=0;_.j=0;_.k=0;var Ub;_=Kb.prototype=new Lb;_.M=function ec(a){var b,c;Zb(this,a);for(c=new gr(this.e);c.c<c.e.kb();){b=ej(er(c),10);b.b=a.c-this.j+b.g;b.c=a.d-this.k+b.i;b.b=np(0,op(b.b,this.i-b.e));b.c=np(0,op(b.c,this.g-b.d));b.b=pp(b.b/this.c)*this.c;b.c=pp(b.c/this.d)*this.d;Ul(this.f,b.f,b.b,b.c)}};_.cM={11:1};_.c=0;_.d=0;_=fc.prototype=Jb.prototype=new Kb;_.J=function gc(a){var b;b=Ib(a);this.b.b.f=jp(b[0]);this.b.b.e=jp(b[1]);xr(this.b.e,new jc(this.b.b.c,this.b.b.f,this.b.b.e));this.b.b=null;fb(this.b);Yb(this)};_.N=function hc(a){var b,c;b=Ib(a);c=nc(this.b.b.c.substr(1,2-1),jp(b[0]-this.b.b.f.b),jp(b[1]-this.b.b.e.b));if(this.n){nf(Yn(xs).p);mf(Yn(xs).p);'isLegalMove('+this.b.b.c.substr(1,2-1)+Ws+(b[0]-this.b.b.f.b)+Ws+(b[1]-this.b.b.e.b)+'): ';nc(this.b.b.c.substr(1,2-1),jp(b[0]-this.b.b.f.b),jp(b[1]-this.b.b.e.b))}if(!c)throw new cd};_.cM={11:1};_.b=null;_=jc.prototype=ic.prototype=new q;_.cM={2:1};_.b=null;_.c=null;_.d=null;_=lc.prototype=kc.prototype=new w;_.x=function mc(){return nj};_.cM={3:1,25:1,28:1,37:1,40:1,42:1,46:1,48:1,52:1,54:1};_.b=null;_.c=null;_.e=null;_.f=null;_=qc.prototype=oc.prototype=new q;_.b=null;_.c=0;_.d=0;_.e=null;_.f=null;_.g=null;_.i=0;_.j=0;_.n=null;_=uc.prototype=rc.prototype=new q;_.b=null;_.c=null;_=yc.prototype=vc.prototype=new q;_.cT=function zc(a){return xc(this,ej(a,5))};_.eQ=function Ac(a){throw new Rd(Xs)};_.hC=function Bc(){throw new Rd(Xs)};_.cM={5:1,60:1};_.b=null;_.c=null;_=Sc.prototype=Cc.prototype=new q;_.cM={17:1,18:1,19:1,20:1,21:1,22:1,23:1,27:1};_.b=null;_.c=null;_.e=1;_.f=0;_.g=0;_.i=0;_.j=0;var Dc=null,Ec=false;_=Uc.prototype=Tc.prototype=new q;_.P=function Vc(){vd();Kd()};_=Xc.prototype=Wc.prototype=new q;_.cM={7:1};_.b=null;_=Zc.prototype=Yc.prototype=new q;_.cM={8:1};_.b=0;_.c=null;_.d=null;_.e=null;_=ad.prototype=new q;_.cM={58:1,69:1};_=_c.prototype=new ad;_.cM={58:1,62:1,69:1};_=cd.prototype=$c.prototype=new _c;_.cM={9:1,58:1,62:1,69:1};_=ed.prototype=dd.prototype=new q;_.cM={10:1};_.b=0;_.c=0;_.d=0;_.e=0;_.f=null;_.g=0;_.i=0;_.j=null;_=gd.prototype=fd.prototype=new Lb;_.O=function hd(a){return this.b?Xb(a):new vm};_.N=function id(a){if(!this.b){throw new cd}};_.cM={11:1};_.b=true;_=jd.prototype=new q;_.b=0;_.c=0;_.d=0;_.e=0;_=pd.prototype=new q;_.cM={12:1};_=rd.prototype=qd.prototype=new pd;_.Q=function sd(){return this.b};_.R=function td(){return this.c};_.cM={12:1};_.b=0;_.c=0;var ud=null;_=yd.prototype=xd.prototype=new jd;_=Cd.prototype=zd.prototype=new pd;_.Q=function Dd(){return this.b};_.R=function Ed(){return this.e};_.cM={12:1};_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;_.g=0;_=Fd.prototype=new q;_.S=function Hd(a,b){if($doc.defaultView&&$doc.defaultView.getComputedStyle){var c=$doc.defaultView.getComputedStyle(a,Cs);if(c){return c[b]}}return null};_=Jd.prototype=new Fd;_=Nd.prototype=Id.prototype=new Jd;_=Sd.prototype=Rd.prototype=Qd.prototype=new _c;_.cM={58:1,62:1,67:1,69:1};_=Td.prototype=Pd.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_.b=null;_=Wd.prototype=new q;var Xd=0,Yd=0;_=me.prototype=ce.prototype=new Wd;_.b=null;_.c=null;_.d=null;_.e=false;_.f=null;_.g=null;_.i=null;_.j=false;var de;_=te.prototype=se.prototype=new q;_.T=function ue(){this.b.e=true;he(this.b);this.b.e=false;return this.b.j=ie(this.b)};_.b=null;_=we.prototype=ve.prototype=new q;
--></script>
<script><!--
_.T=function xe(){this.b.e&&re(this.b.f,1);return this.b.j};_.b=null;_=Ee.prototype=Ae.prototype=new q;_.U=function Fe(){var a={};var b=[];var c=arguments.callee.caller.caller;while(c){var d=this.V(c.toString());b.push(d);var e=ct+d;var f=a[e];if(f){var g,i;for(g=0,i=f.length;g<i;g++){if(f[g]===c){return b}}}(f||(a[e]=[])).push(c);c=c.caller}return b};_.V=function Ge(a){return ye(a)};_.W=function He(a){return []};_=Je.prototype=new Ae;_.U=function Le(){return ze(this.W(De()),this.X())};_.W=function Me(a){return Ke(this,a)};_.X=function Ne(){return 2};_=Qe.prototype=Ie.prototype=new Je;_.U=function Re(){return Oe(this)};_.V=function Se(a){var b,c;if(a.length==0){return bt}c=Ap(a);c.indexOf('at ')==0&&(c=zp(c,3));b=c.indexOf('[');b==-1&&(b=c.indexOf(at));if(b==-1){return bt}else{c=Ap(c.substr(0,b-0))}b=yp(c,String.fromCharCode(46));b!=-1&&(c=zp(c,b+1));return c.length>0?c:bt};_.W=function Te(a){return Pe(this,a)};_.X=function Ue(){return 3};_=Ve.prototype=new q;_=Ye.prototype=We.prototype=new Ve;_.b=Cs;_=vf.prototype=new q;_.cT=function xf(a){return wf(this,ej(a,61))};_.eQ=function yf(a){return this===a};_.hC=function zf(){return be(this)};_.cM={58:1,60:1,61:1};_.b=0;_=uf.prototype=new vf;_.cM={13:1,14:1,58:1,60:1,61:1};var Af,Bf,Cf,Df,Ef;_=Hf.prototype=Gf.prototype=new uf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Jf.prototype=If.prototype=new uf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Lf.prototype=Kf.prototype=new uf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Nf.prototype=Mf.prototype=new uf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Pf.prototype=Of.prototype=new uf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Qf.prototype=new vf;_.cM={15:1,58:1,60:1,61:1};var Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf;_=ag.prototype=_f.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=cg.prototype=bg.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=eg.prototype=dg.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=gg.prototype=fg.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=ig.prototype=hg.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=kg.prototype=jg.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=mg.prototype=lg.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=og.prototype=ng.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};_=qg.prototype=pg.prototype=new Qf;_.cM={15:1,58:1,60:1,61:1};var rg,sg=false,tg,ug,vg;_=Ag.prototype=zg.prototype=new q;_.P=function Bg(){(wg(),sg)&&xg()};_=Jg.prototype=Cg.prototype=new q;_.b=null;var Dg;_=Og.prototype=new q;_.e=null;_=Ng.prototype=new Og;_.d=false;_=Mg.prototype=new Ng;_.Z=function Ug(){return this.$()};_.b=null;_.c=null;var Qg=null;_=Xg.prototype=new q;_.hC=function Zg(){return this.d};_.d=0;var Yg=0;_=$g.prototype=Wg.prototype=new Xg;_=_g.prototype=Vg.prototype=new Wg;_.cM={16:1};_.b=null;_.c=null;_=ah.prototype=new Mg;_=ch.prototype=new ah;_=kh.prototype=bh.prototype=new ch;_.Y=function lh(a){jh(this,ej(a,17))};_.$=function mh(){return hh};var hh;_=rh.prototype=nh.prototype=new ch;_.Y=function sh(a){qh(this,ej(a,18))};_.$=function th(){return oh};var oh;_=yh.prototype=uh.prototype=new ch;_.Y=function zh(a){xh(this,ej(a,19))};_.$=function Ah(){return vh};var vh;_=Eh.prototype=Bh.prototype=new q;_.b=null;_=Gh.prototype=new ah;_=Kh.prototype=Fh.prototype=new Gh;_.Y=function Lh(a){Jh(this,ej(a,20))};_.$=function Mh(){return Hh};var Hh;_=Rh.prototype=Nh.prototype=new Gh;_.Y=function Sh(a){Qh(this,ej(a,21))};_.$=function Th(){return Oh};var Oh;_=Yh.prototype=Uh.prototype=new Gh;_.Y=function Zh(a){Xh(this,ej(a,22))};_.$=function $h(){return Vh};var Vh;_=di.prototype=_h.prototype=new Gh;_.Y=function ei(a){ci(this,ej(a,23))};_.$=function fi(){return ai};var ai;_=ii.prototype=gi.prototype=new Ng;_.Y=function ji(a){ej(a,24);Xn()};_.Z=function li(){return hi};var hi=null;_=pi.prototype=mi.prototype=new q;_.cM={28:1};_.b=null;_.c=null;_=si.prototype=new q;_=ri.prototype=new si;_.b=null;_.c=0;_.d=false;_=Bi.prototype=qi.prototype=new ri;_=Di.prototype=Ci.prototype=new q;_=Gi.prototype=Fi.prototype=new Qd;_.cM={57:1,58:1,62:1,67:1,69:1};_.b=null;_=Hi.prototype=Ei.prototype=new Fi;_.cM={57:1,58:1,62:1,67:1,69:1};_=Pi.prototype=Ki.prototype=new vf;_.cM={30:1,58:1,60:1,61:1};var Li,Mi,Ni;_=Ri.prototype=Qi.prototype=new q;_.aC=null;_.qI=0;var Zi,$i;var Wj=null;var _j,ak,bk;_=ek.prototype=dk.prototype=new q;_.cM={31:1};_=ik.prototype=hk.prototype=new q;_.eQ=function jk(a){if(!gj(a,32)){return false}return wp(this.b,ej(ej(a,32),33).b)};_.hC=function kk(){return Lp(this.b)};_.cM={32:1,33:1,58:1};_.b=null;_=nk.prototype=mk.prototype=new q;_._=function ok(){return this.b};_.eQ=function pk(a){if(!gj(a,34)){return false}return wp(this.b,ej(a,34)._())};_.hC=function qk(){return Lp(this.b)};_.cM={34:1,58:1};_.b=null;_=sk.prototype=rk.prototype=new q;_._=function tk(){return this.b};_.eQ=function uk(a){if(!gj(a,34)){return false}return wp(this.b,ej(a,34)._())};_.hC=function vk(){return Lp(this.b)};_.cM={34:1,58:1};_.b=null;var wk,xk,yk,zk,Ak;_=Ek.prototype=Dk.prototype=new q;_.eQ=function Fk(a){if(!gj(a,35)){return false}return wp(this.b,ej(ej(a,35),36).b)};_.hC=function Gk(){return Lp(this.b)};_.cM={35:1,36:1};_.b=null;var Ik=null,Jk=null;var Tk=false,Uk=null;_=al.prototype=Zk.prototype=new Ng;_.Y=function bl(a){lj(a);null.vb()};_.Z=function cl(){return $k};var $k;_=el.prototype=dl.prototype=new mi;_.cM={28:1};var fl=false;var kl=null,ll=null,ml=null,nl=null,ol=null,pl=null;_=yl.prototype=ul.prototype=new q;_.b=null;_=Bl.prototype=Al.prototype=new q;_.b=0;_.c=null;_=Fl.prototype=new x;_.v=function Hl(){gm(this,(em(),cm))};_.w=function Il(){gm(this,(em(),dm))};_.x=function Jl(){return zj};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_=El.prototype=new Fl;_.x=function Pl(){return qj};_.bb=function Ql(a){return po(this.b,a)};_.cb=function Rl(){return new yo(this.b)};_.ab=function Sl(a){return Ol(this,a)};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_=Wl.prototype=Dl.prototype=new El;_.x=function Zl(){return pj};_.db=function $l(a,b){Nl(this,a,this.p,b)};_.ab=function _l(a){var b;b=Ol(this,a);b&&Yl(a.p);return b};_.eb=function am(a,b,c){Vl(a,b,c)};_.cM={25:1,28:1,37:1,39:1,42:1,44:1,45:1,48:1,52:1,54:1};_=fm.prototype=bm.prototype=new Ei;_.cM={57:1,58:1,62:1,67:1,69:1};var cm,dm;_=im.prototype=hm.prototype=new q;_.fb=function jm(a){a.z()};_=lm.prototype=km.prototype=new q;_.fb=function mm(a){a.B()};_=qm.prototype=nm.prototype=new q;_.b=null;_.c=null;_.d=false;_.e=null;_=vm.prototype=sm.prototype=new Fl;_.x=function xm(){return Cj};_.cb=function ym(){return new ko(this)};_.ab=function zm(a){return tm(this,a)};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,51:1,52:1,54:1};_.b=null;_=Am.prototype=rm.prototype=new sm;_.x=function Bm(){return sj};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,51:1,52:1,54:1};_=Dm.prototype=new Fl;_.x=function Nm(){return uj};_.cb=function Om(){return new kn(this)};_.ab=function Pm(a){return Im(this,a)};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_.d=null;_.e=null;_.f=null;_.g=null;_=Vm.prototype=Cm.prototype=new Dm;_.x=function Xm(){return tj};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_.b=0;_.c=0;_=$m.prototype=new x;_.x=function an(){return xj};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_.b=null;_=bn.prototype=Zm.prototype=new $m;_.x=function dn(){return yj};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_=en.prototype=Ym.prototype=new Zm;_.x=function fn(){return vj};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_=kn.prototype=gn.prototype=new q;_.gb=function ln(){return this.b<this.d.c};_.hb=function mn(){return jn(this)};_.b=-1;_.c=null;_=qn.prototype=nn.prototype=new q;_.b=null;_=un.prototype=rn.prototype=new q;_.b=null;_.c=null;_=zn.prototype=wn.prototype=new x;_.x=function Bn(){return wj};_.A=function Cn(a){gl(a.type)==32768&&!!this.b&&(this.p[$t]=Cs,undefined);L(this,a)};_.C=function Dn(){Gn(this.b,this)};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_.b=null;_=Fn.prototype=new q;_.b=null;_=In.prototype=En.prototype=new Fn;_=Kn.prototype=Jn.prototype=new q;_.P=function Ln(){var a,b;if(this.c.b!=this.b||this!=this.b.b){return}this.b.b=null;if(!this.c.j){this.c.p[$t]=It;return}a=(b=$doc.createEvent('HTMLEvents'),b.initEvent(It,false,false),b);jf(this.c.p,a)};_.b=null;_.c=null;_=Vn.prototype=Qn.prototype=new Dl;_.x=function Zn(){return Bj};_.cM={25:1,28:1,37:1,39:1,42:1,44:1,45:1,48:1,50:1,52:1,54:1};var Rn,Sn,Tn;_=_n.prototype=$n.prototype=new q;_.fb=function ao(a){a.y()&&a.B()};_=co.prototype=bo.prototype=new q;_.cM={24:1,27:1};_=fo.prototype=eo.prototype=new Qn;_.x=function go(){return Aj};_.eb=function ho(a,b,c){b-=0;c-=0;Vl(a,b,c)};_.cM={25:1,28:1,37:1,39:1,42:1,44:1,45:1,48:1,50:1,52:1,54:1};_=ko.prototype=io.prototype=new q;_.gb=function lo(){return this.b};_.hb=function mo(){return jo(this)};_.c=null;_=to.prototype=no.prototype=new q;_.cb=function uo(){return new yo(this)};_.b=null;_.c=null;_.d=0;_=yo.prototype=vo.prototype=new q;_.gb=function zo(){return this.b<this.c.d-1};_.hb=function Ao(){return wo(this)};_.b=-1;_.c=null;var Bo,Co=null;_=Go.prototype=Eo.prototype=new q;var Ho=null;_=Lo.prototype=Ko.prototype=new q;_=No.prototype=Mo.prototype=new q;_.cM={56:1};_.b=null;_.c=null;_.d=null;_=Po.prototype=Oo.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_=Ro.prototype=Qo.prototype=new q;_.b=null;_=Vo.prototype=Uo.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_=Wo.prototype=new q;_.cM={58:1,65:1};_=Yo.prototype=Xo.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_=_o.prototype=$o.prototype=Zo.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_=cp.prototype=bp.prototype=ap.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_=fp.prototype=dp.prototype=new Wo;_.cT=function gp(a){return ep(this,ej(a,63))};_.eQ=function hp(a){return gj(a,63)&&ej(a,63).b==this.b};_.hC=function ip(){return this.b};_.cM={58:1,60:1,63:1,65:1};_.b=0;var kp;_=sp.prototype=rp.prototype=qp.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_=up.prototype=tp.prototype=new q;_.cM={58:1,68:1};_=String.prototype;_.cT=function Cp(a){return Bp(this,ej(a,1))};_.eQ=function Dp(a){return wp(this,a)};_.hC=function Ep(){return Lp(this)};_.cM={1:1,58:1,59:1,60:1};var Gp,Hp=0,Ip;_=Pp.prototype=Np.prototype=new q;_.cM={59:1};_=Tp.prototype=Sp.prototype=Rp.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};_=Up.prototype=new q;_.ib=function Wp(a){throw new Tp('Add not supported on this collection')};_.jb=function Xp(a){var b;b=Vp(this.cb(),a);return !!b};_.lb=function Yp(a){var b,c,d;d=this.kb();a.length<d&&(a=Si(a,d));c=this.cb();for(b=0;b<d;++b){Yi(a,b,c.hb())}a.length>d&&Yi(a,d,null);return a};_=$p.prototype=new q;_.eQ=function aq(a){var b,c,d,e,f;if(a===this){return true}if(!gj(a,72)){return false}e=ej(a,72);if(this.e!=e.e){return false}for(c=new Dq((new yq(e)).b);dr(c.b);){b=ej(er(c.b),73);d=b.nb();f=b.ob();if(!(d==null?this.d:gj(d,1)?ct+ej(d,1) in this.f:jq(this,d,~~Vd(d)))){return false}if(!ss(f,d==null?this.c:gj(d,1)?iq(this,ej(d,1)):hq(this,d,~~Vd(d)))){return false}}return true};_.hC=function bq(){var a,b,c;c=0;for(b=new Dq((new yq(this)).b);dr(b.b);){a=ej(er(b.b),73);c+=a.hC();c=~~c}return c};_.cM={72:1};_=Zp.prototype=new $p;_.mb=function sq(a,b){return jj(a)===jj(b)||a!=null&&Ud(a,b)};_.cM={72:1};_.b=null;_.c=null;_.d=false;_.e=0;_.f=null;_=uq.prototype=new Up;_.eQ=function vq(a){var b,c,d;if(a===this){return true}if(!gj(a,74)){return false}c=ej(a,74);if(c.kb()!=this.kb()){return false}for(b=c.cb();b.gb();){d=b.hb();if(!this.jb(d)){return false}}return true};_.hC=function wq(){var a,b,c;a=0;for(b=this.cb();b.gb();){c=b.hb();if(c!=null){a+=Vd(c);a=~~a}}return a};_.cM={74:1};_=yq.prototype=tq.prototype=new uq;_.jb=function zq(a){return xq(this,a)};_.cb=function Aq(){return new Dq(this.b)};_.kb=function Bq(){return this.b.e};_.cM={74:1};_.b=null;_=Dq.prototype=Cq.prototype=new q;_.gb=function Eq(){return dr(this.b)};_.hb=function Fq(){return ej(er(this.b),73)};_.b=null;_=Hq.prototype=new q;_.eQ=function Iq(a){var b;if(gj(a,73)){b=ej(a,73);if(ss(this.nb(),b.nb())&&ss(this.ob(),b.ob())){return true}}return false};_.hC=function Jq(){var a,b;a=0;b=0;this.nb()!=null&&(a=Vd(this.nb()));this.ob()!=null&&(b=Vd(this.ob()));return a^b};_.cM={73:1};_=Kq.prototype=Gq.prototype=new Hq;_.nb=function Lq(){return null};_.ob=function Mq(){return this.b.c};_.pb=function Nq(a){return nq(this.b,a)};_.cM={73:1};_.b=null;_=Pq.prototype=Oq.prototype=new Hq;_.nb=function Qq(){return this.b};_.ob=function Rq(){return iq(this.c,this.b)};_.pb=function Sq(a){return oq(this.c,this.b,a)};_.cM={73:1};_.b=null;_.c=null;_=Tq.prototype=new Up;_.ib=function Uq(a){this.qb(this.kb(),a);return true};_.qb=function Vq(a,b){throw new Tp('Add not supported on this list')};_.eQ=function Xq(a){var b,c,d,e,f;if(a===this){return true}if(!gj(a,71)){return false}f=ej(a,71);if(this.kb()!=f.kb()){return false}d=new gr(this);e=f.cb();while(d.c<d.e.kb()){b=er(d);c=er(e);if(!(b==null?c==null:Ud(b,c))){return false}}return true};_.hC=function Yq(){var a,b,c;b=1;a=new gr(this);while(a.c<a.e.kb()){c=er(a);b=31*b+(c==null?0:Vd(c));b=~~b}return b};_.cb=function $q(){return new gr(this)};_.sb=function _q(){return new lr(this,0)};_.tb=function ar(a){return new lr(this,a)};_.ub=function br(a){throw new Tp('Remove not supported on this list')};_.cM={71:1};_=gr.prototype=cr.prototype=new q;_.gb=function hr(){return dr(this)};_.hb=function ir(){return er(this)};_.c=0;_.d=-1;_.e=null;_=lr.prototype=jr.prototype=new cr;_.b=null;_=or.prototype=mr.prototype=new uq;_.jb=function pr(a){return fq(this.b,a)};_.cb=function qr(){return nr(this)};_.kb=function rr(){return this.c.b.e};_.cM={74:1};_.b=null;_.c=null;_=tr.prototype=sr.prototype=new q;_.gb=function ur(){return dr(this.b.b)};_.hb=function vr(){var a;a=ej(er(this.b.b),73);return a.nb()};_.b=null;_=Fr.prototype=wr.prototype=new Tq;_.ib=function Gr(a){return xr(this,a)};_.qb=function Hr(a,b){(a<0||a>this.c)&&Zq(a,this.c);Nr(this.b,a,0,b);++this.c};_.jb=function Ir(a){return Ar(this,a,0)!=-1};_.rb=function Jr(a){return zr(this,a)};_.ub=function Kr(a){return Br(this,a)};_.kb=function Lr(){return this.c};_.lb=function Or(a){return Er(this,a)};_.cM={58:1,71:1};_.c=0;var Ur;_=Xr.prototype=Wr.prototype=new Tq;_.jb=function Yr(a){return false};_.rb=function Zr(a){throw new bp};_.kb=function $r(){return 0};_.cM={58:1,71:1};_=bs.prototype=_r.prototype=new Zp;_.cM={58:1,72:1};_=gs.prototype=cs.prototype=new uq;_.ib=function hs(a){return ds(this,a)};_.jb=function is(a){return fq(this.b,a)};_.cb=function js(){return nr(_p(this.b))};_.kb=function ks(){return this.b.e};_.cM={58:1,74:1};_.b=null;_=ms.prototype=ls.prototype=new Hq;_.nb=function ns(){return this.b};_.ob=function os(){return this.c};_.pb=function ps(a){var b;b=this.c;this.c=a;return b};_.cM={73:1};_.b=null;_.c=null;_=rs.prototype=qs.prototype=new Qd;_.cM={58:1,62:1,67:1,69:1};var ws=_d;var Dj=To(au,'Widget'),rj=To(au,'Composite'),mj=To(bu,'ChessBoard'),nj=To(bu,'ChessSquare'),Fj=So('[Lchess.client.',cu),Rj=So('[[Lchess.client.',cu),Pj=So(du,'String;'),Mj=So(du,'Integer;'),oj=To('com.allen_sauer.gwt.dnd.client.','PickupDragController'),Ej=So(Cs,'[I'),Gj=So('[Lcom.allen_sauer.gwt.dnd.client.','DropControllerCollection$Candidate;'),Nj=So(du,'Object;'),Oj=So(du,'StackTraceElement;'),Hj=So(eu,'Style$BorderStyle;'),Ij=So(eu,'Style$Unit;'),Jj=So('[Lcom.google.gwt.i18n.client.','HasDirection$Direction;'),Kj=So('[Lcom.google.gwt.lang.','LongLibBase$LongEmul;'),zj=To(au,'Panel'),qj=To(au,'ComplexPanel'),pj=To(au,'AbsolutePanel'),Cj=To(au,'SimplePanel'),Lj=So('[Lcom.google.gwt.user.client.ui.','Widget;'),sj=To(au,'FocusPanel'),uj=To(au,'HTMLTable'),tj=To(au,'Grid'),xj=To(au,'LabelBase'),yj=To(au,'Label'),vj=To(au,'HTML'),wj=To(au,'Image'),Bj=To(au,'RootPanel'),Aj=To(au,'RootPanel$DefaultRootPanel'),Qj=So(du,'Throwable;');$stats && $stats({moduleName:'chess',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.chess) $wnd.chess.onScriptLoad();
--></script></body></html>